Particles within the new GUI
How can i properly implement particle systems within the new gui? I want to anchor them at the right places and so on. What i did was adding a rect transform and a canvas renderer, but they do not...
View ArticleParticle Scaling for Particle-UI-Elements
Hi, I still cannot find a way to scale my particle systems if I use them integrated in the UI. They work perfectly within the new UI, sorting, rearranged etc., but they can't be scaled, which is...
View ArticleHow to calculate the width of a text string of a specific font and font-size
I wanted to calculate the width of the text string with a specific font and font size. It's like a "SizeWithFont" method in ObjectiveC. Someone please help me on this.
View ArticleImproper scaling in fullscreen
Hi guys. I'm having this weird problem. The UI shows correctly in windowed mode (any resolution) but when I go fullscreen it only shows right with native resolution. Anyone know what might be the...
View ArticleUnity 4.6 UI: How to prevent Deselect(losing focus) in InputField
Hi guys, I need to prevent deselect in InputField. For example : I have smiles popup and I want to show it when you got focus on InputField (you see native keyboard and I want to show that popup above...
View ArticleFixed Size on Custom Font
When assigning a dynamic font to a Text object. It will scale the text depending on the FontSize. However, I need to use a custom Font using the glyphs I already baked into a texture. The problem is...
View ArticleReducing draw Calls
Hello, currently im workin on reducing draw calls in my uGUI. But since uGUI renders the objects accordingly to their hierarchy, this process is pretty weird. So i put each Text in a seperate Canvas...
View ArticleInexplicable UI flickering in 5.1.0f3
After upgrading my project to Unity 5.1, some of my UI elements have begun to inexplicably flicker and disappear at random. I have scoured the change log looking for a possible explanation but I cannot...
View ArticleToggle onValueChanged called even if toggle state wasn't changed
Is this by design that onValueChanged is raised even if the state of a toggle wasn't changed (i.e. click again on a selected toggle in the group)?
View ArticleDropdown Deselect Issue
Hello guys, In my UI, I have an options settings with a dropdown and couple of slider and toggle. Problem is when I click on the dropdown, then clicking anywhere on the screen or on the dropdown again...
View ArticleButton Repeat
I guess I'm blind - I am some times. In GUI, there's something called GUI.ButtonRepeat which fires every frame as long as the button is pressed. I was expecting - hoping - that the new GUI button would...
View Article[SOLVED] RectMask2D and ScrollRect update
I have a ScrollRect with a viewport that contains a RectMask2D. The content of the ScrollRect has a list of children, expanding beyond the viewport (so they get culled by the RectMask2D). I remove the...
View Article[Solved] Can't get the rect.width / rect.height of an element when using layouts
Hi, i need to get the width and height dimension of a ui rect element during runtime to adjust the tiling/offset of a ui material texture. Code (CSharp): width =...
View ArticleUGUI text broken
I used dynamic font in my project, when many Chinese character text show on UI, the font texture rebuilding, and the text uv wrong,All the text broken. I Used Unity 5.2.3p3, Can someone help me ? Thank...
View ArticleUnity 5.3.1p1 randomly crash on MultiplyMatrices3x4
Code (JavaScript): Incident Identifier: 27E220F4-9340-4FFC-8B98-9C907A14089E CrashReporter Key: 0311432c23ccdf28e64dea8a9c3d5d1d7e1e8e6a Hardware Model: iPhone7,1 Process: towerhero...
View ArticleScroll Rect not working with a gamepad.
I'm trying to build my ui to be compatible with a gamepad, but I've hit a snag when trying to navigate through my scrollrect which is filled with dynamic content (an inventory menu, to be exact). I've...
View ArticleGUI element attached to a GameObject
Hi there! I have seen this question asked many times, unfortunately I am unable to find conclusive answers. All I am looking for is to have a uGUI element following a GameObject. Example: a Text...
View Article[Solved] UI Components gone missing
Hello, today when I booted up my project my HUD was suddenly entirely broken. All the components (Text and Image) are now missing scripts. Is there a way to fix this? I don't want to rebuild my HUD ;_;...
View ArticleLayoutGroup subclassing, HorizontalWrapLayoutGroup
Hello, this is my first post here. I am trying to create a variable width wrap grid similar to this. For my use I'm looking for it to place children horizontally until it reaches the right edge of the...
View ArticleHUD examples
I'm looking for tutorials or examples of a working HUD like this one from League of Legends. http://pre11.deviantart.net/2ea9/th...egends_zed_hud_by_toranasoverlays-d830trj.png Mostly i just need the...
View Article