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

Ability to add enum argument to button functions

A feature I would love to see is for buttons to be able to call functions with an enum type argument for instance... Code (csharp):   public enum type {   fire, water }   public void SetType(type t) {...

View Article


Creating a panel that stretches using anchors

Hi All, Relative newbie so please excuse any oversights. I have a component (canvas/panel) that I'm wanting to add a panel to, so that when the parent component's height changes, the child panel's...

View Article


Enabling UI elements = Performance spike?

Hi, I've got a little UI test scene - a little performance test with 64 items in a ScrollRect, each item is an instance of a prefab, containing two UI.Image sprites (one regular, one sliced) and a very...

View Article

Manually trigger OnDragEnd, or: 'invalidate' an active touch event?

Is it possible to trigger the release of an actively used UI element such as a Slider? I mean that while a user is sliding a Slider back and forth, I can manually 'invalidate' that active UI element....

View Article

Overlapping 3D World Space Canvases

I have multiple World-Space Canvases set up. Why does the mouse click propagate to the button on the lower canvas, even if the mouse is currently hovering over the upper canvas? Why does it only happen...

View Article


Wrong input.mouseposition

I keep track of input.mouseposition and then put the mouse right at the center of a UI element, parented to the canvas, and the values of the mouse position and the UI element are different. Why? The...

View Article

[5.4] can't interact with UI on Gear VR

After updating to 5.4, UI does not react on my focus anymore and I can't interact with it. Did anybody else experience this problem?

View Article

One of my UI is "flickering/blinking" but only in built version

Hello, I have a very uncommon problem : in the ending sequence of my game, there is a text that's written character by character over an black image. If the text becomes too long a vertical scroll-bar...

View Article


UNity 5.4.0f3 Scrollview bugs

HI, recently updated my project to the new UNity version from the 5.3.6 and found that th scrollview don't interact the same. I am making a script which updates the content position of a scrollrect...

View Article


[5.2] MaskableGraphic performance OnEnable(), OnDisable()

Hey folks. Our UI has seen some major spikes since upgrading to 5.2 from two functions - MaskableGraphic.OnEnable() and MaskableGraphic.OnDisable(), both coming in at a whopping 51ms. There is also a...

View Article

Detecting When an Auto Layout Group Was Rebuilt

Is there a way to know when a LayoutGroup has been rebuild/calculated? Since the group isn't recalculated until before rendering, I'd like to execute some tweening code only after the items within an...

View Article

UI Text disappears when alt-tabbing away from Unity Editor

I've been seeing basically the exact same behavior reported in this Linux support thread (which was confirmed by UT), but I'm seeing it on Windows:...

View Article

Can children of Canvas Group know when alpha has changed?

So if I want to make a class that needs to do its own thing to make sure it fades with its parent Canvas Group, what would I do to ensure that works correctly? Is there anything I can do to make sure...

View Article


Image may be NSFW.
Clik here to view.

Warp/bend the UI

I'm looking to create an effect like this I was thinking about using "projection matrices" or something like that but I have no clue how those work or what they are in detail. I know you can rotate the...

View Article

Is it possible to change the transparent place to white?

Hi, I have a buttons in my UI Canvas, buttons have a transparent image .PNG format. i want to add the white BG behind this button or along with this buttons. I already have a black panel, on the black...

View Article


No camera rendering message with 5.4.0p1

Hey, I've no need for a camera in my game, but I'm seeing the "No cameras rendering" message which will not disappear in game view when I press play. It seems to be the same as this issue which was...

View Article

Unwanted spacing caused by native size of sprites in a Horizontal Layout ?

Hi again ! It appears you can't delete threads here, so since I got new pieces of informations, I'll just edit my first post. Original post under the cut, better explanations ahead. Spoiler I've been...

View Article


Image may be NSFW.
Clik here to view.

Centering clicked position of ScrollView on visible rect?

So I'm sure someone has tried that before, so before I fiddle with it, maybe someone has a solution to go. What I want to do is to have a scrollView move when the player clicks somewhere. So if they...

View Article

Change the Value of a Toggle without triggering OnValueChanged?

Can You change the value of a toggle without having it call it's OnValueChanged functions? When the user presses the toggle i need some code to happen but sometimes i need to change the Active state of...

View Article

Using UI for variable amounts of elements

Hello everyone. I am working on a game that has quests. The list of quests can be empty, sometimes it can have one or more quests, some quests may get removed in the middle at some point. And quest...

View Article
Browsing all 23263 articles
Browse latest View live


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