1
0
Files
LupiNexMedia f84f5c592b initial commit
2026-04-28 09:32:03 +02:00

12 lines
261 B
C#

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);
}
}