x


How to pause Time(Time.timeSinceLevelLoad)

Hi, I've got question. How to stop time? I'm want to pause Time.timeSinceLevelLoad, and renew it...

more ▼

asked Jan 27 '11 at 06:31 PM

Meddy gravatar image

Meddy
3 1 1 2

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

2 answers: sort voted first

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.

more ▼

answered Jan 27 '11 at 06:39 PM

Bunny83 gravatar image

Bunny83
46.8k 12 50 210

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

Thanks for help!

more ▼

answered Jan 27 '11 at 09:27 PM

Meddy gravatar image

Meddy
3 1 1 2

You Should Make His Answer As Correct (Click the check mark by the up-down arrows)

Jan 27 '11 at 09:31 PM AVividLight
(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:

x587
x268
x145

asked: Jan 27 '11 at 06:31 PM

Seen: 2619 times

Last Updated: Jan 27 '11 at 06:31 PM