- Home /
Question by
saberboy117 · Apr 19, 2011 at 01:37 AM ·
timepause
Waiting for seconds while Time.timescale is 0!
how do you wait for so many seconds when Time.timeScale = 0?
thanks
Comment
Answer by AngryOldMan · Apr 19, 2011 at 01:42 AM
you could get the Time.realtimeSinceStartup
and set it as you pause your game then add code to say when Time.realtimeSinceStartup = Time.realtimeSinceStartup + variableYieldTime
do something (ie. unpause)
Your answer
Follow this Question
Related Questions
Pausing an Invoke for a time 2 Answers
Ideas for Animating while Paused? 9 Answers
Pause menu doesn't pause everything 0 Answers
Timer delay 1 Answer
Time.timeScale = 0 breaks my GUI. 0 Answers