unity3d-gui Questions

2

Solved

I have a 2D game set to 1080p pixel size (so each unit equals 1 pixel) and I have added a canvas to my scene. However the canvas fills only about 1/8th of the screen and is also not central either....
Salisbury asked 2/9, 2015 at 7:27

14

Solved

I built a registration form for a mobile game using Unity 5.1. To do that, I use Unity UI components: ScrollRect + Autolayout (Vertical layout) + Text (labels) + Input Field. This part works fine. ...
Outgeneral asked 10/6, 2015 at 19:53

2

Solved

Is it possible to extend the new unity ui components like for example the transform component? Because nothing happens when i try to extend the button, instead of the transform component using Un...
Document asked 14/3, 2015 at 17:49

5

Solved

I have a UI Canvas with render mode world space set. For all UI elements that belong to this canvas, I am seeing 'left', 'right', 'top' and 'bottom' variables in the RectTransform component in the ...
Rawinsonde asked 11/6, 2015 at 13:53

3

I'm trying to interact with world space UI using a first person controller when Cursor.lockState is set to CursorLockMode.Locked. world space UI and a character But when cursor is locked, cursor...
Tye asked 22/2, 2017 at 6:57

3

Solved

I'm trying to get a text inside an inputField in Unity3D with C#. I've placed an inputField in my editor, renamed and tagged in: Username_field. My question is: How i can get the text inside the ...
Papilla asked 2/2, 2015 at 7:41

7

When I run the following code on my UI text Color color = text.color; color.a -= 1.0f; text.color = color; The alpha value of the text is immediately set to 0. How can I simply fade out the text...
Auricula asked 11/1, 2015 at 8:13

4

Solved

I'm trying to attach an onValueChanged event to my GUI Slider, but for some reason it gives me a mandatory option to put a value in (it's the fourth box in the "On Value Change (Single)" section). ...
Appledorf asked 20/9, 2015 at 14:14

2

Solved

I'm needing to have some funcitonality ignored, if I have happen to touch my UI. However, I am struggling to detect if I am actually touching it or not. My UI makes use of the native UI inside Un...
Dietrich asked 7/10, 2015 at 16:1

2

Solved

I am developing a game using unity3D and I need help making a progress time bar such that on collecting particular items time is added and thus the game continues.
Aschim asked 26/7, 2015 at 12:56

2

Solved

Everything I search is based on the old UI. I've tried the following button.image = Resource.Load<Image>("..."); button.GetComponent<Image>() = Resources.Load<Image>("...."); bu...
Callable asked 4/1, 2015 at 0:14

1

Solved

I want to retrieve the text from a UI InputField but I'm not sure how.
Cornuted asked 3/2, 2015 at 6:39
1

© 2022 - 2025 — McMap. All rights reserved.