How to get notification if children have added/moved/removed?
Hello. How can i get a notifcation when a child have been placed on a gameobject? When i derive from UIBehaviour, then i can use OnTransformParentChanged() when the gameobject have changed its own...
View Articledisplay HTML push messages inside Unity NGUI
Hello, I need to implement a new feature to support displaying HTML push messages as popups within our application. Short background: I'm listening to a WebSocket for incoming commercial messages. When...
View ArticleCannot see UI text in the Scene View = can only see it in the game view
Seems this has been problem off and on for awhile Unity 5.4 mac and windows both I can see the text in game view but not in scene view and it will not align right using the anchor commands either?
View ArticleUnityEngine.UI.dll is in timestamps but is not known in assetdatabase
I'm using beta 19 on Windows and still quite constantly get the error "Asset 'C:/Program Files (x86)/Unity/Editor/Data/UnityExtensions/Unity/GUISystem/4.6.0/UnityEngine.UI.dll' is in timestamps but is...
View ArticleUnity drag and drop mobile not working
Hi there, we have a drag and drop inventory system, which works fine in the editor, however when on mobile, its very inaccurate and pretty much nothing works as expected. The icon is almost never lined...
View ArticleThis this a bug with the ui text?
Here is my project (latest version Unity 5.4.1f1): (click the image to see close-up) "with less and gain" is the complete string in the text component. There are 6 spaces between the words "less" and...
View ArticleDynamic Pixels Per Unit
Hi, I'm working on a VR project. In the UI, I need to display some text. With the canvas scaler and the "Dynamic Pixels Per Unit" parameter, I manage to have a clean text render. But I've some...
View ArticleReceive onClick event and pass it on to lower UI elements.
I've built a dropdown list component that has an invisible overlay behind it [heavily based on this thread.] The idea is that when you click the drop down list, the panel appears. If you select an item...
View ArticleSpawning UI Prefabs to different canvases keeping correct size
I am trying to spawn a UI element to different canvases. I either have the new UI visible in the center of the screen for one frame, OR offset from the center by the wrong distance In our game, we use...
View ArticleScrollbar.value change when open it second time !?
My option menu created by scrollrect full of buttons with scrollbar. It should show the first thing in the menu when open it. for first time is good but if i open it again the scrolbar value change to...
View ArticleUI Animation Performance & Dirty Scene Objects
Hello, We have a fairly complicated UI system. When running the Profiler, our biggest hit is on Animator Update. Most notably in two sub categories: Dirty Scene Objects and Apply Animator Move. We were...
View ArticleScrollRect deceleration formula
Hey all! Can someone please help me figure out the deceleration formula for the ScrollRect. I am trying to add snapping to the ScrollRect so it could work with inertia. I need to figure out the...
View ArticleIs it possible to enable and disable Panels within the Animation Timeline?
I have two menus that switch when buttons are clicked in each panel. Is it possible to enable/disable each within the animation timeline? I have transitions of each opening and closing so I need that...
View ArticleUI Prefab Unresponsive/Broken
So, I make a canvas with some buttons, images, etc that's supposed to be a user menu. It works. Perfectly. Great. And then, I drag it over to the assets to make it a prefab. That works. Then I drag it...
View ArticleHow to set UI images to be partially transparent?
I've searched all over and cannot figure out how to make the new UI images partially transparent. I start out by creating the image in Paint Shop Pro, then create its alpha channel around the image....
View ArticleCopy screenspace position
Suppose I have two GUI GameObjects, and I want to move one of them to the position of the other. If they have the same parent, and identical anchors and pivots, I can just set the anchoredPosition of...
View ArticleFree Script - Particle Systems in UI Screen Space Overlay
I haven't been too active in the Unity forums, but I am a professional dev who has been working with Unity for several years. I've recently been working with the superb new team at Section Studios in...
View Articleimage pixel precision
I'm facing a pixel precision issue while creating a Health bar with stripes indicating 100 or 1000 marks. (LOL) I have several strokes (UI images) all of the same height and width. (identical prefab...
View ArticleUI ScrollView strange behaviour
I have been having a problem with the Scrollview, where after running the content moves outside of the viewport. I thought this was a problem with something that I had done, so I removed everything and...
View ArticleEditorGUILayout Popup
Hi, I'm using EditorGUILayout.Popup in a project and I have a problem with the position of the list of elements after a click on the control. The list used has submenus and is pretty big (takes the...
View Article