Answers for "how to load scene by index unity"

4

how to get scene index unity

SceneManager.GetActiveScene().buildIndex;
Posted by: Guest on July-11-2020
0

how to load scene by index unity

SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex + 1);
Posted by: Guest on July-05-2021

Browse Popular Code Answers by Language