InterfaceManager.LoadScene
#
Declarationpublic void LoadScene(Int32 index)
#
ParametersName | Description |
---|---|
index | Index of scene to load |
#
DescriptionLoads a scene by index
#
UsageExample
using NullSave.GDTK;using UnityEngine;
public class Example : MonoBehaviour{
public void ExampleMethod() { InterfaceManager.Current.LoadScene(0); }
}
#
Declarationpublic void LoadScene(string sceneName)
#
ParametersName | Description |
---|---|
sceneName | Name of scene to load |
#
DescriptionLoads a scene by name
#
UsageExample
using NullSave.GDTK;using UnityEngine;
public class Example : MonoBehaviour{
public void ExampleMethod() { InterfaceManager.Current.LoadScene("MainMenu"); }
}