Reflective Scene Manager
This class provides management of scenes and reports events.
Events
public static event Action<Scene> OnSceneLoaded
Event triggered when a scene is loaded.
public static event Action<Scene> OnSceneUnloaded
Event triggered when a scene is unloaded.
Members
public static SceneProcessor Processor
The
SceneProcessor
object to use.
Methods
Parameters:
sceneName
: The name of the scene to load.onCompleted
: The action that will be called when the installation process is completed (defaults to null).
Uses the
Processor
object to load the specified scene.
Parameters:
scene
: The stage to be evacuated.onCompleted
: The action that will be called when the dump is complete (defaults to null).
Uses the
Processor
object to dump the specified scene.
It is a method that runs when the application starts.
RoomData
is obtained viaRoomManagerBase.Singleton
and aSceneProcessor
is created accordingly.
Last updated