Scene Loader
This class handles loading and unloading of scenes.
Members
private static MonoBehaviourHook _monoBehaviourHook:A special variable that holds the
MonoBehaviourHookcomponent.
Methods
public static void LoadScene()Used to load the scene.
If an load is already in progress, it stops the process.
public static void UnloadScene()Used to unload the scene.
If a drain operation is already being performed, it stops the operation.
private static void Init()Initializes variable
_monoBehaviourHookand adds the required component.
This class handles loading and unloading of scenes. The MonoBehaviourHook component is used to perform operations asynchronously.
Last updated