> For the complete documentation index, see [llms.txt](https://reflective-roommanager.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://reflective-roommanager.gitbook.io/docs/user-manual/scene-management/manager/reflective-scene-manager.md).

# 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**

1. ```csharp
   public static void LoadScene(string sceneName,
   Action<Scene> onCompleted = null)
   ```
   * **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.
2. ```csharp
   public static void UnLoadScene(Scene scene,
   Action<Scene> onCompleted = null)
   ```
   * **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.
3. ```csharp
   [RuntimeInitializeOnLoadMethod] private static void Init()
   ```
   * It is a method that runs when the application starts. `RoomData` is obtained via `RoomManagerBase.Singleton` and a `SceneProcessor` is created accordingly.
