Class CurrentRoomDetectionRoomManager
Inheritance
System.Object
CurrentRoomDetectionRoomManager
Namespace: Edgar.Unity.Examples.CurrentRoomDetection
Assembly: cs.temp.dll.dll
Syntax
public class CurrentRoomDetectionRoomManager : MonoBehaviour
Fields
RoomInstance
Room instance of the corresponding room.
Declaration
public RoomInstanceGrid2D RoomInstance
Field Value
Type | Description |
---|---|
RoomInstanceGrid2D |
Methods
OnRoomEnter(GameObject)
Gets called when a player enters the room.
Declaration
public void OnRoomEnter(GameObject player)
Parameters
Type | Name | Description |
---|---|---|
GameObject | player |
OnRoomLeave(GameObject)
Gets called when a player leaves the room.
Declaration
public void OnRoomLeave(GameObject player)
Parameters
Type | Name | Description |
---|---|---|
GameObject | player |