Question by 
               _reitoutoshi · Dec 04, 2015 at 03:58 PM · 
                c#coroutineapplication.loadlevel  
              
 
              I want to run it after running the demo, the demo1 wait three seconds .However, this script is ignored the run . The error is not .
using UnityEngine; using System.Collections;
public class SecondController : MonoBehaviour {
 public void ModeSelect(){
     StartCoroutine(LoadAfterDelay());
 }
 IEnumerator LoadAfterDelay(){
     Application.LoadLevel("demo");
     yield return new WaitForSeconds(3);
     Application.LoadLevel("demo1");
 }
}
               Comment
              
 
               
              Your answer
 
 
             Follow this Question
Related Questions
The order of the sound played 0 Answers
Execute coroutine in Update() 8 Answers
Destroy() not removing the object all the time (Coroutine used) 0 Answers
 koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                