- Home /
Question by
martipello · Nov 22, 2017 at 02:56 PM ·
timepauserealtimetime.timescale
create a pause state and menu that still allows animations
title says it all im trying to make a pause screen i think the Time.timeScale = 0; is perfect but i have some animations that take place on my pause UI and none of these work when Time.timeScale = 0; ive read here https://answers.unity.com/questions/7544/how-do-i-pause-my-game.html that i can create my own delta time by saving Time.realtimeSinceStartup; and subtracting it from its value (Im not sure how this works if anyone could elaborate that would be great) but how do i then tell my animations to use this time and work? or is there another way (i cant pause every gameobject in the scene by disabling or constraining rigidbodies )
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612143149im_/https://answers.unity.com/themes/thub/images/avi.jpg)