UI button working on button press not release.
Hi, UI Buttons in Unity have build in function onClick, but this function starts to work after button is released. Is there any way to change it? I know how to make buttons with colliders and...
View ArticleInputField Highlighting / MoveTextEnd
I must be doing something awfully wrong. I have an InputField. I want to give it focus via code. No problem. I want to give it focus and already have text in there. Okay, I can do that. Problem is, all...
View ArticleHow to turn Raycast on a GUI Rect
Hey guys Ive never really used the old GUI system. Im using a plug in though that uses it. How do I turn on Raycat Target? This is what I'm working with. Code (csharp):...
View ArticleChanging the color of a UI Button with scripting?
I'm trying to change the color of a button depending on an array. Is there any way I can dynamically change the color of a button? It should be under the image class, but it's not. If not, can I do a...
View ArticleAtlas/Sprites leakage in UI
1) If you have disabled button with sprite on scene - after you load other scene atlas will still be in memory. 2) If you add sprites to Button Sprite swap tab, and switch button behaviour to color...
View ArticleHow to make dragging work with ExecuteEvents.Execute?
I'm trying to make uGUI controllable with Vive Controllers. I do this by putting BoxColliders on the GUI elements, checking OnTriggerEnter/Exit/etc. with the controllers and monitoring the...
View ArticleChange Canvas size only in editor
Hello. Its not really a problem and i can create my canvas well, however it has width 800 and 100 height in my editor. When i run my game its ok since i configured those % sizes on my buttons but its...
View ArticleuGUI with apple TV scrolling
Has anyone been able to get scrolling with unity's new GUI system and the apple controller on appleTV to work? And without writing any customized code for scrolling. I for the life of me cannot get it...
View ArticleAdding an event trigger in C# is not working
Hi I'm trying to bind an event trigger at run time in c# Code (CSharp): EventTrigger off_trigger = Pad.GetComponent<EventTrigger>( ); Â Â Â Â EventTrigger.Entry off_entry = new...
View ArticleDocs missing "low level" information regarding UI?
When working with NGUI, one of the biggest things that helped us in improving performance as understanding how each of the components worked under the hood. Example one: Panels were essentially like...
View ArticleOverlaping images using the same Packing Tag creates a new Draw Call?
Overlaping images using the same Packing Tag still creates a new Draw Call? I have something like this, Image1,2 and 3 overlaps each other a bit, (Image and TextMeshPro) are child of each image : Image...
View ArticleMove UI above TouchKeyboard for Mobile
Hi, In our game, we have a chat area and would like to move the UI above the keyboard so that the last sent message is at the bottom of the visible space (like Facebook chat or WhatsApp etc does) I've...
View ArticleMonster Health Bar Invisible while Not Lit
I am working on a dark dungeon crawler game with low lighting. I disable health bars on monsters unless they are recently injured so you cannot see where new monsters are hiding. However, the video...
View ArticleI need some help adjusting and using my Options Menu
I have a main menu where you can press an "Options" button to change a few things. Right now I have three sliders that adjust the volume of UI, and SFX sound as well as Music. It looks like this But as...
View ArticleText object as a child in another object doesn't go to the right place.
Hi guys, i've run into an issue with a project i'm working on. Everything is working great except one thing. I have a couple of UI objects as children of a big block of text; my issue is that those...
View ArticleFiguring out when a ToggleGroup was changed
So I have a button, which I want to enable/disable based on the state of a ToggleGroup. For example imagine it's a toggle Group which can have no single toggle selected. The corresponding button should...
View ArticleSome letters of text in the Input field are invisible, OpenGLES error 0x0502
Some letters of text in the Input field is not showing and getting below error while entering text, OpenGLES error 0x0502 in /Users/--/Classes/Unity/GlesHelper.mm:339 using 5.3.2 p3 latest version..
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 ArticleCharacter selection screen cursor trouble
Hello. I am working on making a character select screen, for a 2d fighting game. And for the most part it is doing what I would like. The one part that is not working so well for me, is the horizontal...
View Article