Hi, I've got question. How to stop time? I'm want to pause Time.timeSinceLevelLoad, and renew it...
Jan 27 '11 at 06:31 PM
Just set Time.timeScale to zero. That will stop all times except Time.realtimeSinceStartup. If timeScale is set to 0 FixedUpdate is not being called anymore.
See the Time class for more information.
Jan 27 '11 at 06:39 PM
Thanks for help!
Jan 27 '11 at 09:27 PM
You Should Make His Answer As Correct (Click the check mark by the up-down arrows)
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
Once you sign in you will be able to subscribe for any updates here
Answers and Comments
The best place to ask and answer questions about development with Unity. Check out our FAQ for more information.
To help users post good questions and use the site effectively we have posted a tutorial video. Please check it out.
asked: Jan 27 '11 at 06:31 PM
Seen: 2619 times
Last Updated: Jan 27 '11 at 06:31 PM
In game pause menu
Ideas for Animating while Paused?
Pause menu... Isn't pausing everything...
How to make a pause function?
GUI Button appears when Paused
Waiting for seconds while Time.timescale is 0!
Audio keeps playing when paused
How do I pause/stop an audio clip that I choose, on a certain condition?
pause timer or player using Time.timeScale
How to pause a game?