UI Button - Text-size not correctly
Hey guys, I have the following problem: I made a UI, which has two buttons. They have the same settings. View attachment 194202 I tried to copy and paste them again, but the text of my play button is...
View ArticleBlack UI when building to android
It is unreliable and doesn't happen all the time, but often when I build to Android all of the UI elements turn black. Other posts I read about this said to put an image in the UI element, but these...
View ArticleMake button lose focus on roll out
Hi, there's this little something I'm trying to do but can't... I'll explain by steps: 1) hover over a button -> it gets highlighted (OK) 2) press (but not release) the button -> it takes the...
View ArticleDropdown Menu issue
Hey guys I'm running the new 5.2 version with the dropdown menus, and I have it populating the option fields. And I'm able to select one and see the selection value. The issue I'm running into is if...
View ArticleWorldspace Canvas appears in editor not in Game.
Ok I've been working on this all day and I can't find anything on this. I have a screenspace overlay for my regular gui elements and I'm trying to create some worldspace elements to float around a...
View ArticleRender order in canvas.
I'm using UI Extensions (https://bitbucket.org/ddreaper/unity-ui-extensions) class UILineRenderer to draw graphs. I achieved what I wanted on the middle graph by changing Z-axis of certain objects by...
View ArticleUnity UI Screenshots
Hi! Are you making something cool with the new UI? We would love to see the kind of things you are creating with the beta. This gives us an idea about what you are using it for, and helps us focus our...
View ArticleUnity 5 GUI crashes android
Hi I just met with this issue, and can't figure out if it's a unity bug, or a setting problem. I tried to build my game (made in unity5 so there shouldn't be a version problem) to my android tablet....
View ArticleHow to change the image sprite through script?
I created an empty game object, and I added an image as its child. And I want to change that child (image) by writing script, how can I do it? This is my code: Code (csharp): Â using UnityEngine; using...
View ArticleBurnt UI after long freeze/loading
When I pause Unity because of a breakpoint or after a long loading, I sometimes (quite often actually), end up with some kind of burn UI. It only appears in the Game view. Note that we are rendering...
View ArticleUI Text Not Showing Apostrophes and Quotes
I'm having a strange problem, and one that's only started occurring today, even though I've been using the same story system since October. I'm writing a string to a UI Text element through code, very...
View ArticleGet Truncated String
I've looked everywhere, but can't find a solution even remotely close to what I'm looking for. Building my dialogue system, I want to display text and, if it's too long for the dialogue box, truncate...
View ArticleSwitch Between Images
Hello i have been working on making a quiz game in unity that consists of True or False , at the moment i am using text to display whether the answer is wrong or correct, but i would like to use images...
View Articleadding an Update function to an Event Trigger
My Goal: a UI button that when pressed and held, pans the camera in one direction Yes, I'm not much of a coder, but I do my best. I've been searching these forums for a solution, and I have found...
View ArticleScrollRect + Content size fitter not working in 5.2
HI All, maybe someone can help me with this. I have a dynamic list that I want to scroll. My hierarchy looks like this: Code (CSharp): gameObject (main) : ScrollRect (content set to child content...
View ArticleHow to disable (hide) UI elements without disabling them
Hi I have an issue where I want to hide certain elements without actually disabling them. So if I have a toggle that turns another UI element on and off, how can I achieve this without changing the...
View ArticleRestrict Content Size Fitter to screen height, enable scroll bars when larger
Heya! I posted this on Answers as well, but sometimes get a better response on the forums. Basically I want to have a panel expand to fit its vertically stacked content, until it gets as tall as the...
View Article5.4 world space canvas buttons not pressing with locked cursor
Hi, guys, in my game i have buttons created with world space canvas UI, my cursor is locked. In 5.4beta buttons were interactable, now buttons do not respond. Did they've changed UI or this is a bug?
View ArticleKeyboard navigation doesn't work if you click off the UI
Heya! So I'm not sure how to go about solving this. Basically when I open a menu, keyboard navigation works fine. However if I click my mouse off the UI somewhere, then press keyboard buttons, it...
View ArticleDetecting if a RectTransform is outside the canvas?
So I have a built tooltip system but I'd love to make it so that the tooltips flip around when there isn't enough space. However for that I'd need to figure out when a rectTransform is outside the...
View Article