Reloading Text
How can make to disappear the text? i tried with "yield return new WaitForSeconds" but not working. Script: Code (CSharp): using UnityEngine; using System.Collections; Â public class GunController :...
View ArticleUsing the new UI for score counter
Hi, i have this code so far static var gscore : int = 0; var menuStyle: GUIStyle; function OnGUI () { GUI.Label(Rect(78, 10 , 100,...
View ArticleUI Dropdown not scrolling on keyboard or controller input
Hello, I've mistakenly posted this in Unity General Support, sorry for a double thread. I've come across something strange with Dropdown UI element. When there are more items than the viewport can...
View ArticleSmoothing Game's UI, issue with Fading.
Hello, dear friends! Currently I am working on my indie project, and I got issue with UI design. I really like fadings anywhere, and I decided to use Fadings for my game's UI. After some time killed...
View ArticleDepth buffer and UI
Hello! In my project I'm using Dimenco 3D display. This device intercepts calls from Unity to opengl32.dll to create desired stereo effect. (It composes side-by-side image/depth) The problem is - I...
View ArticleSimulating and sending event for Mouse "Lft Button" script with no inputs.
Long story short after searching for awhile i was unable to find into on this. I have an Xbox One build and wish to simulate the input "Mouse Lft Button" down with not actually any UI. Is there a way...
View Articleis there any global EventTrigger callback that's called when...
Appart from OnSelected and OnDeselected which only get called on the selected and deselected objects.
View ArticleUI button not changing variable when onclick() function is called.
Sorry I'm going crazy here. New to unity. Just messing with this 2d sidescrolling example. I've added a canvas with 3 UI buttons. The onlick events fire and work when instantiating objects and debug...
View ArticleUnity 5.1 UI flickers when button pressed
Since I upgraded to Unity 5.1, everytime I press a button, the UI flickers. This is on android. The same build with Unity 5.0 doesn't flicker. Now that I've upgraded my projects to 5.1, I can't go...
View ArticleIMGUI Style requires Texture2d, Other GUI components use Sprites
I'm using a mix of IMGUI and static GUI elements in my game. However, while normal GUI elements want textures to be of type "Sprite (2D and UI)", IMGUI styles and skins only accept textures of type...
View ArticleUI Dropdown for Fonts
I am trying to create a dropdown list of fonts, but I would like to change the Text.font for each item in the list to match it's name. What function gets called when you click on the dropdown? I don't...
View ArticleStruggling to apply NGUI to Top-down RPG camera
Hi all, I am using an action RPG camera asset with NGUI. I basically am trying to put my health/mana/task bar in static in front of the screen and have the inventory and skills menus hot-key'd. So I...
View Article[Scripts] Useful 4.6 Scripts Collection
I decided to make this thread after I stumbled upon Riolis' window script. Please contribute any scripts that you think are useful when working with 4.6 UI. Also, don't forget about the cool scripts...
View ArticleIssue: screenshots of GUI elements with rendertexture
I'm making a drawing / coloring app. I use uGui for stamp/sticker functionality. I'm trying to use a rendertexture to make a screenshot. But the GUI elements don't show up on the render texture. The...
View ArticleCrashes in internal native UI code (TextGenerator)
We started seeing these crashes: ava.lang.Error: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 58d63000 1 Build fingerprint:...
View Article[5.2] Caret missing in InputField (even in the default one)
The caret is always missing in our InputFields since the update to Unity 5.2. The caret object is still created by the InputField and contains the usual Canvas Renderer and Layout Element components,...
View Article4.6 uGUI Mobile - Touch Button not working.
I have a button that starts the game. In the editor it works fine -- click it changes color and starts the game (loads new scene). On mobile it changes color when selected/clicked but stays in the...
View ArticleDouble Tap to edit Input Field
I'm looking for a way to modify the Input Field component so that it becomes editable once you've double tapped the field instead of a single tap. Any thoughts on how to accomplish this?
View ArticleonFillVBO to OnPopulateMesh help?
Upgrading to 5.2 my onFillVBO's are no longer working. I have a script based on the one posted here: http://forum.unity3d.com/threads/draw-circles-or-primitives-on-the-new-ui-canvas.272488/ Within...
View ArticleExtending UI.Button for better mobile experience
I was struggling with annoying user experience for button clicks on iOS. Not sure if others are experiencing this, but I was finding that some of my buttons were not clicking properly. I determined...
View Article