Room Singleton
Last updated
Last updated
When a singleton structure is used in the room system, the class to be singleton is inherited from this class and its type is given the type of the class.
It transmits and adds the scene information of the object where the script is located and the object itself in the specified type to the class.
With the remove method from the class, it performs the deletion process by passing the specified type conductor and the scene information of the object where the script is located.