Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

How to disable (hide) UI elements without disabling them

$
0
0
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 active state of the target element?

The issue for me is that if the target element has a script attached and I want the element to start hidden (disabled), it also disables the attached script which I don't want to happen.

In DFGUI this was handled by giving UI elements a 'Visible' toggle so you...

How to disable (hide) UI elements without disabling them

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



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