[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 Article[Solved] Scrolling dynamically-sized text
Yes, this thread again. My latest n00b adventures involve deciphering the GUI system. I'm doing a little test-harness for a dialogue experiment. This seems like a simple problem but I've been butting...
View ArticleDraggable Panel - Best practice?
From what I have found, you can make a free draggable panel using Scroll Rect as an unrestricted movement type, but the other movement types (elastic/clamped) are only working where the draggable panel...
View ArticleAnyone else suffered UI issues when working on projects from v5.2.0 to v5.3.4?
This is what it looks like on the Unity Web Player: And here's what it looks like in the Editor: Note that every time I build the game, it would throw these warnings and errors related to the Unity...
View ArticleScene Loading Screen?
How to do it right? As far as i know there are two possible ways. One is to load scenes additive, so that loading screen stays safe in fist scene. Second is to create dontdestroyobject and keep loading...
View Article[Solved] How to detect double tap on ui button.
Is it possible to detect double click as with guitexture ( input.GetTouch(i).tapcount==2 ) ? Thank you in advance.
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 ArticleInvisible buttons?
Is there a "right" way to make an invisible button, or an easy way to "catch" a click/tap that's outside of the rest of the UI? I've done it by making a button behind everything and setting the alpha...
View ArticleCustom Slider
It's possible to create a custom slider, which his Handle "jumps" to next value, similar what happens when you check the option Whole Numbers to not use float values in the standard slider. That's how...
View ArticleHorizontalLayoutGroup or VerticalLayoutGroup not updating when I add new child
I am setting placing a new gameobject as a child of the layout group like so, this.transform.SetParent(_parent); where this is the child object and parent is the transform of the layout group....
View ArticleHow to move UI Image cards within a World Canvas in an efficient way?
Hello guys, I am creating a card game similar to monopoly deal. The cards are UI Images. Cards can move from hand to the ten white slots present on table, or back to the deck in the middle. I am using...
View Article[SOLVED] Trying to create a dynamic scroll view
I am trying to create a dynamic scroll view, from a tutorial, but can't see the content to show when it is instantiated into the scroll list. The orange panel is the GameObject that i am trying to...
View ArticlePerformance issues on android with Scrollrect
Hello, I'm using the new ui to develop a chat system in my game. I want to have something like facebook app messenger. For now Im using a scrollrect with a vertical layout group, and I just push new...
View ArticleInstantiating many UI elements is incredibly slow
I want to instantiate many items to be placed in a ScrollRect. Each item is a button, has six Panel children, and each of those has a Text child. It's basically a list of people's attributes (Name,...
View ArticlePerformance of new UI
Hi, we are having significant performance drop while using the new UI and we are wondering if that's how it should perform or is it something that we are doing wrong. We are developing 3d racing game....
View ArticleNew ui ScrollView : FPS drop drastically when dragging ..
Hi, Do you notice that too ? What is the solution ? Thanks a lot ! Best regards, AB
View ArticleCan the scrollrect performance issue even be fixed?
So the issue is well known, some Unity devs have stated the performance is a priority. But I am really wondering, can it even be fixed? If I understand it correctly, using the scroll rects basically...
View ArticleHow to implement an action bar
Hello, I want to add an action bar to my app (not this bar with the time and battery status, but this one with a text field, the three context menu dots or a "back"-button etc. Is there only the...
View ArticleNested Scrollrect?
I'm hoping to put together a Netflix-like interface for users to select the scenes in my project. I need to be able to scroll up and down overall, but also be able to scroll rows of buttons left and...
View ArticleEnabling UI elements = Performance spike?
Hi, I've got a little UI test scene - a little performance test with 64 items in a ScrollRect, each item is an instance of a prefab, containing two UI.Image sprites (one regular, one sliced) and a very...
View Article