Quantcast
Channel: UGUI & TextMesh Pro
Browsing all 23263 articles
Browse latest View live
↧

What's size I need to provide for UI sprite for xxhdpi Android sceens?

I use UI with a real size preference. Just I need to provide UI elements to it hasn't a graphical artefacts on xxhdpi Android screens. I.e. if I have UI button 64x64. Do I need to provide 192x192...

View Article


Camera depth only default background color

I have a camera with clearflag is depth only and a panel with color is 255, 255, 255, 100 (faded white). when touch play button, camera take panel color but without transparent. how can i prevent...

View Article


Custom UI object

Hi, I want to create a custom UI object that allow me to draw some basic sharm on the 2D screen. I have found this subject...

View Article

Drag and Drop UI image with mouse, touch and stylus

Hi, I'm trying to create an UI image that I'm able to drag and drop by mouse, touch and stylus. When I simply create an UI button or some other interactive UI element, it automatically recognizes all...

View Article

WaitingForJob (not related to occlusion culling)

Ever since 5.2 came out, we have been getting enormous spikes (like 40ms) every second or two from what the profiler is calling "WaitingForJob." I've seen people asking about this before, but they...

View Article


Content Size Fitter not working without Layout component

I posted a question on Answers, but it's been 23hrs and it's sill in moderation. So posting again here. I'm working on this small project, I need to dynamically add UI elements inside a panel with...

View Article

Enabling UI on android then disabling causes the camera to zoom out and crash...

I cant seem to replicate it on PC other than sometimes I get a weird error where the position of the camera is NaN or something, I am pretty sure this is what is crashing my game. It only does it when...

View Article

Event system performance pretty bad

Hello, I noticed my game getting "magically" worse and worse performance, so I decided to profile it and see what was up. I noticed that in my Profiler, "BehaviorUpdate" was taking up about 30-40% of...

View Article


Dummy Flexible Width Layout Element

Hi there! I'm trying to create a dummy layout element, so that flexible width items align properly when stacked on top of each other. However the dummy item isn't adhering to the 0.3 flexible width...

View Article


Particles within the new GUI

How can i properly implement particle systems within the new gui? I want to anchor them at the right places and so on. What i did was adding a rect transform and a canvas renderer, but they do not...

View Article

CanvasRenderer crashes Unity when given a mesh that has submeshes & more than...

I'm running into a very inconsistent crash when using the canvas renderer to render a custom text component. In my text component, I normally just render using a meshfilter and a meshrenderer. Setting...

View Article

Unity 5.4.2 - !!!! Lag-Slow performance on Animating a Canvas UI with only 1...

Hello, i am running in a serious problem testing with IOS device ,and this is it: I just created the Survival Shooting and when i went to create a slide effect of a Canvas containing only 1...

View Article

How to disable (hide) UI elements without disabling them

Hi I have an issue where I want to hide certain elements without actually disabling them. So if I have a toggle that turns another UI element on and off, how can I achieve this without changing the...

View Article


BestFit ignored when font with custom character set used

Hi We have a japanese font which size is too big, around 6 Mb and want to reduce it. But there is a problem: BestFit doesn`t work when we choose "Custom set" for "Character" option in font settings. Is...

View Article

Image may be NSFW.
Clik here to view.

Unity UI Screenshots

Hi! Are you making something cool with the new UI? We would love to see the kind of things you are creating with the beta. This gives us an idea about what you are using it for, and helps us focus our...

View Article


Draw circles or primitives on the new UI canvas?

Hi, I'm trying to build a Circular Health bar and I was wondering if it's possible to draw Circles/Arcs or primitives like lines into the canvas so I can create my Circular HealthBar ? Regards E

View Article

Images, material properties and leaking materials

EDIT: I answered my own question... I'm going to ask a mod to delete this post So, I have sprites I'm tinting in my game using MaterialPropertyBlocks. I want to display a thumbnail of that image in a...

View Article


How to create an element that points to a target in world space?

Hello all, I am looking for a solution that would take an UI element (arrow sprite) and rotate it to point towards a position in world space based on the characters current position. This arrow would...

View Article

Unity and Canvas UI - image transition on iOS device - Terrible

After a lot of test and different code written I can confirm that on devices like iPhone 5 the animation of a Canvas element , an image , for example vertical slide effect from top screen to bottom is...

View Article

Display image from a camera in a UI component

Greetings! I have a project in which I have the need to display images from a second camera in a UI component as a panel, for example. The idea is that it works like a screen on a monitor. In the scene...

View Article
Browsing all 23263 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>