Hello there,
I have a Pause/Unpause system which uses timescale = 0 or 1 depending if the game is paused or unpaused.
When I press the pause button, the Menu UI gets active and I can slide my panels which triggers two parameters in the UI’s animator: settings and missions (both bools).
My animator is set to Unscaled Time but when I unpause the game, since it deactivates the UI, it also resets the animator’s parameters of the UI. So when I pause the game again, the canvas is set to the position it should be but since parameters are not kept from the previous pause state, the buttons can’t work properly.
How would I “save” the paramaters of the animator from pause to unpause when the canvas get reactivated?
Thanks for your time
