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

Tab between input fields

I have a simple login form with email and password input fields next to each other. Now I set up 2 input axes called UI Horizontal and UI Vertical and set them as navigation axes in the Event System....

View Article


GetComponent returning null?

I'm almost embarassed to ask about this, it has to be something simple, but I see no reason it shouldn't work. In the hierarchy I have a Canvas which parents a background Image, and that in turn...

View Article


Worldspace 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 Article

UI Button color

Hello, I have a question regarding the UI Button. When you hover your mouse over the button, it fades to a color, is it possible to get the current color of the button? Thanks!

View Article

UI made of 3D objects

Hey friends, I'm considering building a ui with 3D objects and a perspective camera. Are there considerations I should be thinking about before I dive in? Can anyone think of examples to take a look...

View Article


World Space UI scale to fit screen

Hi, I'm creating a UI for the Rift, so as far as I know this means Screen Space is out and I must use World Space canvas. I want to have a dark, slightly transparent background overlay the screen when...

View Article

Buttons as toggle group

Hi, How can I create somewhat like toggle group, but with buttons instead of toggles? Imagine an array of buttons, and one should be non-interactable, and the others - interactable. Then you click one...

View Article

Pixelated when Fullscreen

Hello, I just started on Unity and I am having an problem when toggling from Windowed-mode to Fullscreen-mode with alt+tab. This is how my test looks like when not in fullscreen: View attachment 191558...

View Article


Access scrollbar.value not possible through code?

(We are talking UI from unity 4.6) I finally made a scrollrect with a scrollbar, and some content, masked the rest out and it's pretty neat. What's not so neat is the scrollbar start in the middle of...

View Article


Unity drop down menu "Issue"

I am having an issue with the Unity "Add component" menu. I am not sure how to describe it so I uploaded a screen shot. Has anyone seen this issue before and know how to fix it?

View Article

UI missing in Windows game, is visible in scene view (is visible in both game...

I have the most frustratingly difficult to debug, strangest issue I've ever had with unity. *Some* of my UI is disappearing in the game view, but they are visible in the scene view, and this only...

View Article

What's the best practice for moving RectTransforms in Script?

Final testing revealed MASSIVE performance hits from Tweening my UI controls. Profiling (Unity Pro) showed this was a result of setting the tranforms position: MyCoolUIGameObject.transform.position =...

View Article

Feature Request: Slider does not work when the fill's "Source Image" is set...

I'd like to have a slider that has a fill that is of a flat color. Since I want the color to be flat, I set the "Source Image" to "None". But when I set "Source Image" to "None', the slider does not...

View Article


Image may be NSFW.
Clik here to view.

Possible UI Bug in 5.3.5f1

Hi, i have some bugs with UI tabs of this last version of Unity. It happends with all tabs. Anyone can help me resolve it because it very annoying work. Thanks in advance.

View Article

UI Image Scrolling Background fit all resolutions.

Hi, I've saw the tutorial teaching how to make a scrolling background using a quad, but I coudn't make it fit all resolutions, so I've tried to do it with a UI Image, scalling with the screen size, but...

View Article


How to setup LayoutElement based on apect

Hi, I am using such structure for my UI object: Content - parent object got VerticalLoyoutGroup with force expand width, and ContentSizeFitter with VerticalFit (prefered) Block - subcontainer with...

View Article

Image may be NSFW.
Clik here to view.

Image sprite showing outside recttransform

So, this is a bug, yes? Or am I doing something wrong? This is a new Image I just added to the canvas. I am using 5.3.5f1. That offset does also not stay consistent in direction/distance.

View Article


CanvasRenderer.SetVertices Obsolete?

I've been using this for a while. Now it says "UI System now uses meshes. Generate a mesh and use 'SetMesh' instead". I try to generate a mesh, and use this 'SetMesh' method, but fall to make it work....

View Article

Custom Mesh Rendering under UI Canvas

I am trying to render a custom mesh in the new GUI system. I have a UI Canvas and then a small hierarchy of game objects under them is a game object with a custom mesh. I can't seem to get it to...

View Article

AltGr (Right Alt) returns 3 inputs at once

Hi, We are struggling with binding controls to the AltGr/RightAlt key on British keyboards. Currently, the debug tool returns three inputs when AltGr is pressed on a British Keyboard: Input:...

View Article
Browsing all 23263 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>