Skip to main content

InterfaceManager.LoadScene

Declaration#

public void LoadScene(Int32 index)

Parameters#

NameDescription
indexIndex 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#

NameDescription
sceneNameName 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");    }
}