Multiple Cursors.
Hey everyone, I'm making a game that utilizes the mouse or xbox controller. In singleplayer mode you can choose between either or. In Local Multiplayer, I have up to four players. You cannot have 4...
View ArticleWorld space canvas in VR, how to get proper sorting order?
Hi, I'm creating a VR game and having trouble sorting UI to show up in the correct order based on distance to the camera. My canvases are in world space, but often the one that is further away is...
View ArticleCannot apply indexing with [] to an expression of type `UnityEngine.UI.Toggle'
Hello, I am a newbie, following one tuitorial and it works but mine doesn't. Please give me some hint thx very much! using UnityEngine; using System.Collections; using UnityEngine.UI; using...
View ArticleChanging text color causes a dramatic performance loss
I'm using this little coroutine to fade away some UI text: Code (CSharp): IEnumerator Fade() { float a = Message.color.a; float d = a/4f; float t; while(a>0) {...
View ArticleContent of ScrollView randomly change its PosY value with its Height value
Hello, as the title says some of the Contents of my ScrollViews sometime change their PosY values (set to 0) with their Height values. It happens randomly..I run the game inside the Editor and the...
View ArticleHow to choose a specific item from “ScrollRect” by pressing “button”?
Hello everyone. Is it possible to place a specific item from “ScrollRect” to its view field by pressing a button? Here is some pic that shows what I ‘am trying to achieve:
View ArticleWhere did the UI team go?
Is the new UI system perfect or where did the UI team vanish? I have been following Unity patch notes and very rarely there are any fixes for the new UI reported. Is it already so good immediately...
View ArticleUnity UI problem
There is a problem with UI that is occasionally happening. ALL UI elements are irresponsive from time to time and i have to manually tick "Force Module Active" in event system for it to work again. If...
View ArticleInstantiated text is invisible sometimes
Hello, I need help with a text I instantiate inside a WorldSpace Canvas at runtime; sometimes it is invisible and I can't find the problem..is it a known bug? This is the code that I use: Code...
View ArticleInputField Forceful Focus
I have multiple UI object exist in screen. From this one is Input Field. I want my always focus remain in Input Field though I press Enter using keyboard. At present it travel to next UI object, I want...
View ArticleCheckmark Visible When Toggle Not Interactable
When I make a selected toggle button not interactable, the checkmark remains visible. Makes the button look like it's still interactable. Is there a way to make the checkmark go away without changing...
View ArticleDynamically changing a texture
Sorry for my English, I'm using Google Translate. I have the code below and I need to change the texture contained in the GUI.Label dynamically. I've tried it in many ways and I could not. Can you help...
View ArticleScene '' (-1) couldn't be loaded because it has not been added to the build...
If anyone could point me in the direction of fixing this issue, I would be greatly appreciative. I continue to get an error that reads -Scene '' (-1) couldn't be loaded because it has not been added to...
View ArticleEnlarge Touch Area of Gameobject
Hi, I am trying to throw a stone object with touching on it, however the area of the stone is too small. I need to enlarge the area where it is touched and thrown, keeping the gameobject's area the...
View ArticleHow can I get an Event widget in my own inspectors?
The thing in the screenshot I've attached - how can I get it in my own scripts?
View ArticleCustom Button Based on 3 images
Hi I have 3 images of a button. One when pressed. One when not pressed. One when disabled. How do I make a UI Button (custom) and use the above images?
View ArticleSwipe Vertically AND Horizontally
Hi, so I'm making a game that requires the user to swipe smoothly between 4 panels.. on the left, right, top, and bottom (panels cover entire screen) How can I make it so they can swipe both...
View ArticlePlace Sliders on a Semi-Circle like Bar
So I have four sliders that will indicate magic levels that the user will fill by collecting stuff. I want all four sliders to be curved and fit on one semi-circle bar centered in the screen, but off...
View ArticleDetermine Text Line Count and Characters Per Line
When using the Unity UI Text component, is there a way to determine the number of lines of text, and the number of characters per line of text? The Text.cachedTextGeneratorForLayout seems really...
View ArticleSliced image type
Hi everyone, I am just getting started with the new UI system and just cannot figure out how to use the Sliced image type for simple images. Whenever I select Sliced I get the warning "This image...
View Article