x


Waiting for seconds while Time.timescale is 0!

how do you wait for so many seconds when Time.timeScale = 0?

thanks

more ▼

asked Apr 19 '11 at 01:37 AM

saberboy117 gravatar image

saberboy117
136 41 54 69

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

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)

more ▼

answered Apr 19 '11 at 01:42 AM

AngryOldMan gravatar image

AngryOldMan
2.5k 12 21 47

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x570
x260

asked: Apr 19 '11 at 01:37 AM

Seen: 1087 times

Last Updated: Apr 19 '11 at 01:37 AM