[5.2.2] Scale Dropdown Items
Hi, I'm relatively new to trying out Unity's uGUI, and I've run into an issue with trying to scale up the dropbox and its items. I've tried setting the dimensions of the dropbox itself (right side),...
View ArticleHow do you create a UI that is always landscape?
I am making a plugin for Unity that must support portrait or landscape games, but I want one of my ingame screens to always display in landscape, no matter the device orientation. If the end user has a...
View ArticleIPointerClickHandler doesn't respect execution order
I'm using IPointerClickHandler inside a small "ClickSound" component that should play a sound when a button is clicked. It also checks if the button is interactive before to play the sound. The issue...
View ArticleBest way to solve this
Hi all! Before you all read this I must warn that my background is mainly artistic. I have been touching and making scripts in c# only three months ago, so please forgive me in advance for any error I...
View ArticleWeird button warning
Over the last patch (4.6.2p2) it started to pop up these warnings in one scene where buttons have animator: Code (CSharp): Parameter 'Normal' does not exist. UnityEngine.UI.Selectable:OnValidate()...
View ArticleCanvas Weirdly offset from Scene View
Hey guys! I'm developing a game in Unity 2D, and have been encountering an issue with the canvas for the UI. For some reason, UI elements that I align with the canvas in the scene view do no show up in...
View ArticleTrying to get a specific GUI item to appear in front of others...
Hi folks, I have a Canvas called CanvasHUD which contains a chat panel, a panel containing a button bar, a panel for player info and finally a uWebKIT WebGUI. My problem is that when the WebGUI is...
View ArticleUnity stops processing input after the second time I press play - Unity 5.1.2f1
This is strange - My gui works correctly the first time through. But after I stop and press play again - it displays, but I can no longer click on anything, and it doesn't even recognize a hover. I...
View Articleoccasional stutter when moving World Canvas gameobject
So i have a world canvas gameobject as a child of a camera, so whenever the camera moved the world canvas object moved with it. The camera moves with the player and i noticed that my player would...
View Articlebutton has no reposne
yestoday everything goes well,I build a apk today, it works well on Andriod,but the UGUI has no response at all on PC in ediitor, what hell happens?
View ArticleUI flicker glitch and crash when activating/deactivating UI object
I have the following problem on certain Android Devices (tested on a Samsung Galaxy Tab3 SM-T110): When I activate or deactivate UI objects, the whole GUI seems to "spasm". It disapperars and...
View ArticleScrollRect scrolling when not pressing scrollbar
I just added a scrollrect to my game and when I press inside the scroll rect area(even if the scrollbar isnt on the mouse position) it activates the scrollng... how to stop this? I only want the...
View ArticleDynamically Add Objects To ScrollView With Pooling
Hi. I wanna make a scrollable list. And objects in scrollview are texts from a file. I read a line and make this line as a object's text (maybe button) and when scroll ends, the top of the scrollview...
View ArticleHow to detect if a input field is selected
Can't figured out how to detect if a InputField is currently selected. I don't see any options for it in the list. I see IsFocused but no IsSelected? So that puzzles me. I do see Select where I guess I...
View ArticlePanel with Image From OnGUI to new GUI now rotation problems
Hello, I have something like a clock containing multiple Images. In the old GUI it was: Code (CSharp): float rotate1=90+Mathf.PI*1/4+Globals.dayTime*15f; float...
View ArticleFull Screen button alternative
I am working on a mobile control rig and decided to start with the new 2D control rig in the Sample Assets. I like that the CrossPlatformInput control is configurable in the Editor and it just seems...
View ArticleCanvas SortingLayer do not refresh when scale was 0
This is issue is either a documentation lack from Unity side either a real bug. It was really tricky to find out. I'm setting the sortingLayer for an object having a transform scale set to 0; When...
View ArticleInteractable Player display icon
So quick background, I am working on putting together my first 2D networked multiplayer game (not first unity game). On the player's display I would like to show a clickable, possibly right clickable...
View Articlehow to display extra little characters above characters in a Text?
I'm revisiting an old need: displaying furigana (little phonetic characters that show how to pronounce Chinese characters in Japanese text). The result should look like this: Those small characters...
View Articlestrange behaviour: onclick add listener with disabled component
Say I have prefab1 with 2 buttons, then I have MonobehaviourForPrefab1 which in turn is added to a main transform in the scene as thing.AddComponent<MonobheaviourForPrefab1>();...
View Article