> 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/loader/scene-loader.md).

# Scene Loader

This class handles loading and unloading of scenes.

### **Members**

* `private static MonoBehaviourHook _monoBehaviourHook`:&#x20;
  * A special variable that holds the `MonoBehaviourHook` component.

### **Methods**

1. ```csharp
   public static void LoadScene()
   ```
   * Used to load the scene.
   * If an load is already in progress, it stops the process.
2. ```csharp
   public static void UnloadScene()
   ```
   * Used to unload the scene.
   * If a drain operation is already being performed, it stops the operation.
3. ```csharp
   private static void Init()
   ```
   * Initializes variable `_monoBehaviourHook` and adds the required component.

This class handles loading and unloading of scenes. The `MonoBehaviourHook` component is used to perform operations asynchronously.
