Hi, I?m trying to make a global button of pause for my game.
But is not working as I thought it would be.
Do you use Time scale function for this?. I tried using it and it works but it affects the button too, so it takes a while until it starts again From the pause state.
I used:
--Set time scale to 0.01
--and set time scale to 1.
If I set on pause time scale to 0, the button gets affected too and I can?t get the game enabled again.
How did you approach this?