Performance 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 ArticleDisplay joystick on tap
Dear, friends, How to implement a special kind of a joystick that appears in a position of tap, behaves like a normal joystick, and disappears on release? Thanks!
View ArticlePowerbar Change to Object?
I'm creating an Archery, Platformer, Shooting game named "ArcheryRun" with a small team. We have a powerbar (shown in orange) which increases as you hold down the "Left Mouse Button". However since its...
View ArticleDropdown Background issues...
Hello all, I am using Unity v5.3.4f1 and I am having an issue that I can't seem to figure out. I have a dropdown list on my UI which is working great. The only problem is when I drop down the item list...
View ArticleHow to set TextMesh in front of GUITexture or Graphics.DrawTexture in 2D
Hi to all, i have a small event system based on Playmaker which draws the texture and text when called. The problem is whatever Z position i set, the TextMesh text is always behind the Texture. Any...
View ArticleUi scroll view not scrolling when change aspect rating!
Hi everybody!!! I create scroll view scene on iPhone 4 tall aspect ratio! Everything works fine! But when I change to iPhone 5 tall aspect ratio It's not scroll(buttons on it work fine)! Whats the...
View ArticlePanel PreFab render order
I have a canvas and I have created a 'card' on a Panel. That card has various image and text elements. The render order of the 'cards' is currently based on the order in which the card is brought into...
View Article[5.2] MaskableGraphic performance OnEnable(), OnDisable()
Hey folks. Our UI has seen some major spikes since upgrading to 5.2 from two functions - MaskableGraphic.OnEnable() and MaskableGraphic.OnDisable(), both coming in at a whopping 51ms. There is also a...
View ArticleMonopolize keyboard for InputField the same way it works for legacy TextField
This question has a long history which goes right to the Unity 4.6 beta, and I still can't find any answer. The problem is: when you try to enter some text into the InputField, it doesn't block other...
View Article[SOLVED]UI Image Animation vs Sprite Animation
Hey folks. So since the Unity UI is basically based on the same 2D system I thought to use it for animating the UI Images the same way I do when animating sprites - with the Animator/Mecanim. Now the...
View ArticleSize and position of last character in text mesh.
Hi, I have a text mesh and I'm making the text appear char by char, making a fade in for each character that appears. I'm putting a text_mesh with only the last character to make the fade in, but I...
View ArticleInstances created in OnEnable aren't visible?
I am creating a simple vertical-scrolling listbox. For test purposes I wrote a for-loop to instantiate 20 copies of the list-item prefab (a Button) and parent it on the ScrollRect's Content child. If I...
View ArticleText and draw calls
I have all my UI sprites in the same Texture Atlas, so Unity will render all UI in one draw call. But if I add text to my UI, as text texture is not in the same Texture Atlas as my images, the number...
View ArticleA UI prefab that instantiates itself
I have something that seems to be working, but making it happen was fairly dodgy, and I wonder if this is actually a problematic way to do what I want to do. The idea is to make an easy to use prefab...
View ArticleText has gone pink in Android!
Hi, I know pink is the missing material or shader, but I'm using just Arial font, looks normal on PC, when taken to Android all the fonts go to pink, I'm unsure what it happening, or what the fix might...
View ArticleHow to set TextMesh in front of GUITexture or Graphics.DrawTexture in 2D...
Hi to all, i have a small event system based on Playmaker which draws the texture and text when called. The problem is whatever Z position i set, the TextMesh text is always behind the Texture. Any...
View ArticleScrollbar: More Steps
Hi Guys, Simple question. In the Scrollbar's editor section you're able to give it steps. The maximum steps number is 11. I want more than that. Possibly 20-40 steps. Is there a way to do this? Thanks!
View ArticleScrollRect and ScrollBar
I'm having the weirdest issue. Screenshot attached. My scrollbar and scrolling content work great, until the scroll handle gets to the bottom of the scroll bar (circled in red). Then it ignores mouse...
View ArticleUnity UI Prefab
Hi guys, am trying to use my unity GUI kit i bought, but i cant use the button prefab which has the button animation. here is a screen shot of the prefab...
View ArticleMake grid's child elements with flexible width
Hi guys.. I have this structure: -Grid layout panel --Word --Word2 --Word3 --Word4 It looks like this: So the grid works, that's fine.. But how do I make the child elements with flexible width? For...
View Article