How to implement switching between Canvas from a script?
On what is written in the documentation studio yells that outdated methods.
What I found on the Internet is some kind of old, and in my opinion, you can make it shorter and simpler, there must be tools for this ...
I added two Animations to Canvas, on and off I added Canvas.Enable to them, in one animation it is 1 in another 0. Switching between them by trigger in Animator, is it a crutch? Or quite a working scheme?
But there was a new question how to determine which Canvas is currently Enable to disable it? Drive into a variable? As it is not universal ..
How can I get all Canvas objects on stage?