Quantcast
Channel: UGUI & TextMesh Pro
Viewing all articles
Browse latest Browse all 23263

Scaling a panel to zero

$
0
0
So I used the screen transition technique in the unity manual using an Animator to open and close screens, and I think it's brilliant. However, I don't want my game to be exactly like the example in the manual!

Instead I wanted to scale the UI down to zero to close it, and back to 1 to open it. It seems to work, but I'm wondering if there would be any strange unwanted behaviors from scaling a panel to zero. Should I disable them also?

Viewing all articles
Browse latest Browse all 23263

Trending Articles



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