What's wrong with RectTransformUtility.RectangleContainsScreenPoint Camera...
Hello! I am trying to use RectTransformUtility.RectangleContainsScreenPoint but I have weird trouble with camera. I just have empty project with new scene which have camera on it, also it have UI panel...
View ArticleiOS keyboard flickers when switching between textfields
I am having this very weird issue in Unity 5.3.3 and 5.3.4 (havent tried others) where if I switch inputfields while the keyboard is still open, the keyboard flickers (basically close/open) before...
View ArticleTips for Improving unity UI performance?
Hi! I'm making a game on Unity 5.3.3 using UGUI. The issue is that somehow it is running at low fps and there's only UI involved The screen in the file attached is running at 35-40 fps on a low...
View ArticleInstantiate UI elements Android scale issues
I am instantiating UI elements, both copying existing elements and instantiating prefabs. In the editor it all appears correctly, but on Android the scale of the instantiated elements are roughly half...
View ArticleRemove only 1 Button click Event which have optional parameter
So if we want to remove 1 listener event without parameter, then we can use it UnityEngine.Events.UnityAction action = () => { myMethod(); myOtherMethod(); };...
View ArticleAdding non selectable item in Dropdown
Is there any way we can add an item to Unity's dropdown which can not be selected and may act like a subheading or separator?
View ArticleLayout Group won't react to scaled children
Hi guys, hmm... I'm a bit confused. The layout group doesn't seem to react to scaled children... (Example with a - Vertical Layout Group containing 4x - Background Image + Horizontal Layout Group +...
View ArticleCanvasRenderer OnEnable SetAlpha
I am using the CanvasRenderer.SetAlpha() function to fade out UI elements. It works well most of the time, but at one position I deactivate gemeobjects, and when they are activated again, the...
View Article[SOLVED]I can't use Select() on my Buttons in scripts
Hi i'm working on a menu using xbox controller I want to select a <Button> object in a script, but get an error i can't solve First i made a public list of buttons that i dragged and dropped in...
View ArticleUI text deformed or missing.
HI, If I run app in android device, some text is missing or sometimes is deformed ( like sometimes in editor ). It happens if fps lower then 10. Is there any method for a recounting canvas? I try...
View ArticleNeed help to switch position between two UI Images
Hi everyone ! It is my first post here so I hope I'm not doing any mistake, or misplacement, by looking for help here. Otherwise I'm sorry if it's disturbing. I'm actually developping a game and, for...
View ArticlePerformance hit even when gameobject is disabled
Hello We are working on a project that has a pretty complex UI menu. The problem is that we are facing very low FPS, even though all the UI that is not used is disabled. We have also tried the...
View ArticleUnity 5.2.3f1 to 5.3.4f1 - Text is now blurred in pixel perfect canvas
Text components have been crisp on a "Screen Space - Overlay" canvas with "Pixel Perfect" enabled, up until I updated to 5.3.4f1, now all text is blurred if coordinates are not whole numbers. Any...
View Article[UGUI] Loop ScrollRect for high performance
Hi, Recently I'm optimizting my game and find ScrollRect is a good point. If a large ScrollRect is built, it will consume a lot when loading and drawing (For those cells outside Mask, they are not...
View ArticleDropdown menus with images
Hi all, I wanted to add images to dropdown menus, but I found the documentation confusing and could find no good working examples on the web. I've kind of got it working, so maybe this will save...
View ArticleUnity 5.1 vs. 5.3 UI Performance
So, I've spent some time today to get my project ready for Unity 5.3, and after finally adjusting everything, updating the appropriate plugins etc. I found out that performance is reduced to about 60%...
View ArticleContent Size Filter
Is there a way to use Content Size filter in a way where the Height of a Rec Transform changes according to the height of its content. so the more Text the larger the height is on Rec Transform Rec...
View ArticleUnity UI Font Texture Glitch/Flicker Issue?
Hey guys. I have a 2D game coming out for win/mac. The game is basically all UI and takes place more or less within a canvas. We've been testing it on any machine we can get our hands on and one of my...
View ArticleHow to Position Markers at an Interval on a Slider
I'm trying to place UI Image markers on a Slider to give the appearance of a slideshow timeline. Here is what I'm trying to achieve: View attachment 179037 What I need is for the black markers to be...
View ArticleHow do I make the handle fit within the bounds of the slider?
Let's say I have a slider with 4 steps and the handle is exactly 25% of the slider width. This is what I want: This is how it is currently in Unity: The handle is apparently anchored by it center and...
View Article