unity script help
Go to solution
Solved by trag1c,
https://docs.unity3d.com/ScriptReference/SceneManagement.SceneManager.LoadScene.html
SceneManager.LoadScene("Scene Name", LoadSceneMode.Single); // Alternatively you can use the index specified in the build parameters of the project int sceneIndex = 1; SceneManager.LoadScene(sceneIndex, LoadSceneMode.Single);
I highly suggest looking at the documentation Unity has available because it has numerous examples available and it is easily searchable.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now