Created
March 19, 2022 22:39
-
-
Save deadasadodo/3439d4f29b57996d033968e4c2998996 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//by callum | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.SceneManagement; | |
public class next : MonoBehaviour | |
{ | |
private void OnTriggerEnter(Collider other) | |
{ | |
SceneManager.LoadScene(2); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment