|
I have a game and when a certain amount of time passes that it will load the level. Any help would be great.Thanks
(comments are locked)
|
|
You can do this in several ways. One of them is by using Time.time, but that measures time passed since the start of the game, not the start of the current level. I'd probably do something like this: Hope it helps!
(comments are locked)
|
|
You could have a counter in the FixedUpdate() function, but I'm not sure how easy it would be to make sure you're getting the right minutes/seconds. Here's another way:
(comments are locked)
|
|
On this page you have three different ways from simple timer to invoke function. You can choose the one you understand the best or you can learn new way. http://answers.unity3d.com/questions/307337/how-do-i-change-the-scene-when-my-timer-reaches-ze.html
(comments are locked)
|
