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