Suggestions for GUI asset
I've been through the store and am still at a loss. Many seem like they have been abandoned, are buggy and have not been updated in years. Wouldn't it be an idea to cull some of that old stuff ? Anyway...
View ArticleEventSystem Current Selected Gameobject is null on click?
So I've made a gui button in a canvas and the OnClick() function runs a method in a script to output in the console the current selected gameobject: Code (CSharp): Â Â public void...
View ArticlePerformance spike on Canvas.SendWillRenderCanvases when moving a panel
Hi, I'm having performance problems moving a panel in my UI. I'm moving the panel with a Coroutine that updates the anchoredPosition. The panel has a lot of childrens (a scrollable object with some...
View ArticleuGUI Graphical Toggle Button
Hey all, I'm trying to port over my old GUI to the new system. I have a button that toggles graphically between ON state and OFF state each time you press it. I tried doing it with the Toggle UI, but...
View ArticleRender a Canvas to RenderTexture?
Hi guys, Is there any way to render a canvas to RenderTexture? I want to render the entire screen to RenderTexture, so I'm using: RenderTexture rt = new RenderTexture(x, y, 24); foreach (Camera cam in...
View ArticleCanvas Does Not Update Text Until Closed Out Of Game
I have a text component that is changed in my script, however the change does not appear on the canvas until after I stop running the game. How do I get the change to appear at runtime? Code (CSharp):...
View Article[5.3] Elements in the UI flicker between different sprites
I recently switched from 5.1 to 5.3 for our project, and I got some issues with flickering elements in the UI. I've uploaded a gif of the problem: http://gfycat.com/QueasyDeadlyLangur As you can see,...
View ArticleFont Texture Moshing on Resolution change
Hi, I'm having a problem where my font texture isn't being rebuilt (or my text UVs aren't being updated, who knows?), when my game's resolution is changed. Is there a way to trigger a scene-wide text...
View ArticleWhy is the UI so weird? Help please.
Hi, Why is the UI so complicated and weird? I just want some text in a box but than in the editor it looks good, than when I change it in the editor to a weird position, it is good in game, but than...
View ArticleHow to Make a time Clock
Hi there ..i'm working on this script for 3 day's and it made me crazy LOL ! so any help please on my script when i call function SetTime (){ TimeVar = NextHourValu ;} if now is 21:15:47 ..NextHourValu...
View Article[Script] Simple script that automatically adjust anchor to GUI object size...
I have been playing around with the new GUI in 4.6. I have found out that there is no automation that allows the user to surround a GUI object (panel, button, etc.) with anchors on all sides. This...
View ArticleI have a visible UI on the scene that is not showing on the game view
View attachment 186472 Then on the gameview... View attachment 186474 The images are missing and I cant fin the reason
View ArticleEvent System Drag Threshold
The 'Drag Threshold' does not have documentation in 5.3.3 though the online doc says it is 'The soft area for dragging in pixels.' I'm guessing that means the number of drag pixels before a touch...
View ArticleScroll-able gridview
Hi, not sure if this is the right section for my question, but if anyone can help it will be very much appreciated. We are in the works of making a trading card game. What we would like to know is, how...
View ArticleSharpenning text
I think everyone knows the issue with unity where the text isn't sharp enough and looks blurry, usually to fix that you would grow the font size and then reduce the scale of the object, or vice versa...
View ArticleCircular Rotation for UI Image like RotateAround for 3D gameObject
View attachment 186498 I wanted to Rotate an Image around a point. For reference I have attached an image for representation. I wanted to use Canvas's Screen Space - Overlay property only. How can I...
View ArticlePerformance spike on adding an object in VeticalLayoutGroup
Hello there I'm making a chat that can has lots of messages inside and the container for these messages uses VerticalLayoutGroup. As more messages in VLG as more CPU load on adding new message. It...
View ArticleHow would you organize UI in editor?
Supposing you are developing a 3d game with these systems: inventory - with organizer buttons, like "All", "Weapons", "Crafting Materials", "Food", then different items appearing based on context...
View ArticleUi text not working
Hello, I am using unity 5.3.4 and I want to use text. I have tried a lot of things, however I can't use it the same as all the guides because I can't use using UnityEngine.UI because I use unityScript....
View Article