Quantcast
Channel: UGUI & TextMesh Pro
Browsing all 23263 articles
Browse latest View live
↧

Image may be NSFW.
Clik here to view.

UI Vertical Layout Group with Content Size Fitter, how to set max width?

Hello guys! I need a box that will expand as text is growing, so width of box is growing too, but i how can i limit the expanding width, so my boxes width wont be more than screen width? Im using...

View Article


UI Input: Hide Input Issue on Android

I'm trying to hide the input on Android device, and it does hide on the device but the Input field doesn't behave like the native Input field. The text is not selectable and the delete key doesn't...

View Article


How to click a button directly while a dropdown is opened/shown?

How to click a button directly while a dropdown is opened/shown? Hi! I want to be able to click buttons while I maintain the dropdown opened. The problem is that if the dropdown is shown, it is...

View Article

How disable event interception in EventTrigger?

So in the documentation for EventTrigger: NOTE: Attaching this component to a GameObject will make that object intercept ALL events, and no event bubbling will occur from this object!Click to expand......

View Article

Button with Animator and deactivate gameObject

Hello, I work on Unity since a year and I wonder how to properly use animator with UI Button. Let s explain: I have a UI Button with an animator to drive state (normal, disabled, ...) My Menu Page is...

View Article


Mobile Performance of Scroll Rect and Large Data Set Management

Hi everyone, I'm going to break this question down into two parts and would like to see if anyone else has the same problems or have better solutions. Part 1 Using the Scroll Rect component works well...

View Article

Scene Loading Times

Hi folks, When I load scenes (asynchronously) at runtime I recognized a weird behaviour. But first here are the start conditions: Our UI (popups, modals, etc.) was designed in seperate scenes When...

View Article

Two event triggers also not working at the same time.

The issue I am experiencing is similar to, if not the same as, what is described in this thread. I am using Unity 5.3.3f1 Personal on Windows 8.1. I have two UI Image controls used to trigger movement...

View Article


[5.2]Dropdown , OnValueChanged.

Hey guys: I have been trying to set up the new dropdown element but I cant make it work as it should: I am using this script to take the "value" from the dropdown: Code (csharp):   using UnityEngine;...

View Article


UI will enable/disable but bug into not drawing sometimes

I've elaborated with pictures etc. on my answers thread here: http://answers.unity3d.com/questions/907251/new-ui-is-active-but-not-drawing.html but to no avail so I am posting here before I file a bug...

View Article

Solution to button.onClick.AddListener() with indexed argument. Argument out...

Recently I was fixing up my inventory system and the display that generates on screen when a user clicks an item which he has collected. However when I collected several items and attempted to select...

View Article

Image may be NSFW.
Clik here to view.

Unity 5.5 UI Bug - Look rotation viewing vector is zero

This is what i got from console, Look rotation viewing vector is zero UnityEngine.Quaternion:LookRotation(Vector3, Vector3) UnityEditorInternal.Slider2D:CalcDeltaAlongDirections(Int32, Vector3,...

View Article

OnTriggerEnter not called when two objects in canvas collide

Hey! I attached "Box Colliders 2D" to two panel objects which are in the same Canvas object. I had that many times before and it always works, but it seems it won't work inside Canvas object. I want to...

View Article


Push button animation (like google material UI)

Hi everyone, Excuse me if such question already exists, I tried to find it, but unsuccessfully. Could you please tell me how to make the animation on the buttons when users push them? I would like to...

View Article

Huge delay (4s) from Font.CacheFontForText

I have read some of the top google result for Font.CacheFontForText, I am not convinced the problem is resolved in Unity 5.5 My situation: - I use a custom font, Unicode-based with CJK glyphs, so it's...

View Article


Focus on InputField Programmatically

I have an input field that's popping up and covering the screen, and it doesn't make sense to force the user to click on it, since they have to interact with it before I let them do anything else. Is...

View Article

IPointerClickHandler Not working in build version of the game.

OnPointerClick from IPointerClickHandler, or any other event is not being registered for the built version of the game. It works fine on Unity editor. I have implemented interface, added collider,...

View Article


Bug with RichText on Text component [Resolved]

Hi, I fill dynamically a Text component with values contained in a JSON. I use <b></b> to put some text in bold. It works on the most of my text components dynamically instanciated. But,...

View Article

Setting Custom Canvas Size

My apologizes in advance if this has already been answered. How can I manually set the canvas to a specific size? Or alternatively force it to make use of the standalone default resolution? It seems to...

View Article

Unity UI Button and XboxController

I'm on Mac and finally could install everything to make it work. I can navigate throught buttons but i cannot do the Select part with the A button (16 on mac, 0 on window) I'm using one Xbox plugin i...

View Article
Browsing all 23263 articles
Browse latest View live