- Home /
Question by
fearlessneon · Feb 09, 2014 at 12:35 AM ·
How do i set a time for someone to be on a scene?
What is the c# code for someone to be on a scene for 10 seconds then go to the next scene. What would i attach the code to. The Main camera?
Comment
Answer by getyour411 · Feb 09, 2014 at 12:37 AM
MainCamera is fine, any GObj in the scene will do.
There are many examples of 'how do I run a timer' in UA
Here's one http://answers.unity3d.com/questions/273094/unity3d-timer-request.html
startTimer
whenceTimerDone
Application.loadlevel(next)
Your answer
![](https://koobas.hobune.stream/wayback/20220613132941im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How does code licensing for Unity works? What happens when I post for evaluation / showcase? 1 Answer
Instantiate as child 3 Answers
Scripting a Konami Code 1 Answer
App made with unity got rejected because of crash? 2 Answers
Animation Help!!!!! 1 Answer