DillianSky
0
Q:

how to change scenes in unity

using UnityEngine.SceneManagement;

int buildIndex = 0;
//Load the scene with a build index
SceneManager.LoadScene(buildIndex);
11
SceneManager.LoadScene("MyScene");
5
using UnityEngine.SceneManagement;

SceneManager.LoadScene('Scene');
2
        SceneManager.LoadScene(scenename);
0

New to Communities?

Join the community