> 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/room-container/roomsingletondata.md).

# RoomSingletonData

This is a class used to hold various classes within the room. With the help of this class, special classes can be hosted for each scene.

### Memebers

* `public readonly HashSet<object> Objects` :
  * It holds objects specifically for each room.

### Methods

* ```csharp
  public bool HasSameTypeObject<T>()
  ```
  * **Parameters:**
    * **T** : Data type required for control
  * It checks whether there are objects of the same type in the list and returns value
* ```csharp
  public object GetObjectOfSameType<T>()
  ```
  * **Parameters:**
    * **T** : Data type required for control
  * If there is an object of the same specified type in the list, it returns the object; otherwise, it returns the default value.
