Example #1
0
 // code that makes up change level instead of jump.
 // Use this for initialization
 private void FixedUpdate()
 {
     if (Input.GetButtonDown("Jump"))
     {
         nextSceneScript.LoadNext();
     }
 }
Example #2
0
 private void FixedUpdate()
 {
     if (timer.GetElapsed())
     {
         loadNext.LoadNext();
     }
 }
Example #3
0
 private void Update()
 {
     if (started && Time.fixedTime > timerStart + delay)
     {
         started = false;
         nextLoader.LoadNext();
     }
 }
Example #4
0
 private void OnEnable()
 {
     nextScene.LoadNext();
 }
Example #5
0
 private void OnEnable()
 {
     nextSceneScript.LoadNext();
 }