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 ArticleMulti Line Input Field with Scrollbar
In the old unity before the new UI the textbox have a scrollbar for users to scroll up and down on it. There doesn't seem to be any for the new UI and the user have to move up and down with the...
View ArticleDisplay selected Input field when mobile keyboard is open
Hello, I was looking for a way to fix an issue where the mobile keyboard will cover the selected input field. I would like the selected input field to be pushed up when the keyboard is opened and then...
View ArticleUI Issue
I have a UI Canvas in the initial scene of my project, the Canvas has Don't Destroy on Load set in an attached component Awake. In the editor I can load several scene's each with their own Canvas and...
View ArticlePre calculate UI size
Hi there, is it possible to precompute the size of a layout control in Unity UI? Example: I have a VerticalLayoutGroup with 4 buttons inside. I want to know how much space the vertical Layoutgroup...
View ArticleLetter spacing in Text
Hi guys, I'm using the new Unity 4.6 GUI but I noticed a problem with the Text component. I don't find the option of adding space (in pixels) between a letter and the other. Previously I used NGUI and...
View ArticleWhat causes Toggle's Checkmark to appear/disappear?
When clicking the Toggle component in-game, I see the checkmark disappearing and appearing. However, when I check the inspector, the checkmark's gameobject's active flag doesn't change, the checkmark's...
View ArticleEnable/Disable CanvasGroup component via script.
View attachment 206441 How do I do it? Thanks in advance! Bump for my other 0 reply threads: https://forum.unity3d.com/threads/c...ect-after-removing-graphic-components.438038/...
View ArticleToggle OnValueChanged Parameter Doesn't Change
I'm trying to create a simple option toggle with the Toggle component. When I hook up a callback for OnValueChanged and run the game, I noticed that the callback always receives whatever value I set in...
View ArticleUI elements in "screen space overlay" showing smaller than they should
Hello there, I'm trying to build my first UI in unity 5. Despite watching the related official tutorial, I can't seems to get a good grasp on what my problem could be. Let me explain... I'm building an...
View ArticlePreventing a Game Object getting clicked under specific UI.
Hi Guys! I would like to seek help for this problem of mine. The Yellow part is a scrollrect, the Red part is a UI Image and the orange squares are let's say cubes that have Colliders and will do...
View ArticleScreen space - camera canvas has 'choppy' UI when camera moves.
I tried to upload a video of what is happening, but the file is too small so vimeo won't accept it. I have a canvas set to Screen Space - Camera. In the canvas is just one image at the moment. The...
View ArticleUI canvas is uneditably big for me. Have you got any workaround guys?
If I create a canvas I have to zoom out a lot to see the whole canvas in my scene. Then, if I want to edit the scene objects I have to zoom back again... Is there some trick or normal workflow, hidden...
View ArticleCanvasScaler current scale?
It seems like this would be obvious, but I can't seem to find out how to get this number. For instance, if the reference resolution is 1920x1080, and the current resolution is 960x540, then the current...
View ArticleUI bug?
Hi guys, so wts going in is, i hv a game with multiple canvas, images and everything works perfect. The problem is i hv a canvas attached to the enemies that controls the enemy health bar and it works...
View ArticleSelecting multiple objects in unity editor
Hello, I have a complex scene where I have to move lots of objects around while editing the scene. Is there a way I can use the mouse to select a region of objects in the "scene view" window, then be...
View ArticleChanging UI code
So the UI code is open source. If I want to make changes to it, how can I propagate those into my game?
View ArticleCreating a Gui on an object (Render to Texture?)
Hi, I have been using Unity for a few months, having never used it before, and this is the first time I have needed to ask a question, which is a testament to the user-friendliness of this engine! I am...
View ArticleStencil properties in UI shader, using Shader Forge
Hello, I have a custom made shader (made in Shader Forge) which I would like to use as a part of my UI for rendering some images inside a Scroll View. However, when I try to use this shader for UI...
View ArticleKeeping Track of Whether a Button is Held Between Menu Scene Loads...
I have a class I use that keeps track of input and also tracks when buttons are held and released. This class allows me to make it so that if I hold the up or down buttons to sift through and highlight...
View Article