initial commit
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine.SceneManagement;
|
||||
|
||||
public class LoadSceneByIndex : MonoBehaviour
|
||||
{
|
||||
// General method to load scenes based on build index
|
||||
public void LoadScene(int sceneIndex)
|
||||
{
|
||||
SceneManager.LoadScene(sceneIndex);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user