Learn / Documentation / Scene Director

Description

The Scene Director loads and unloads scenes and has callbacks for when the active scene changed, a scene was loaded and a scene was unloaded.
See Also: Scene Loader, Scene

Component Details

Gesture Listener
  • Manual – Link to the manual page for this component

  • YouTube – Link to the quick video tutorial for this component

  • Debug Mode – Enables relevant debug messages to be printed to the console

  • OnActiveSceneChangedActiveSceneChangedEvent executed when the active Scene has changed. Includes references to the replaced Scene and the next Scene.

  • OnSceneLoadedSceneLoadedEvent executed when a Scene has loaded. Includes references to the loaded Scene and the used LoadSceneMode.

  • OnSceneUnloadedSceneUnloadedEvent executed when a Scene has unloaded. Includes a reference to the unloaded Scene.