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
Parameters:
T : Data type required for control
It checks whether there are objects of the same type in the list and returns value
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.
Last updated