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