public IEnumerator EnterRoom(RoomInstance room) { if (curRoom != null) { yield return(EixtRoom(ExitRoomType.EnterNextRoom)); } curRoom = room; yield return(curRoom.Enter()); }
public IEnumerator EnterRoom(RoomInstance room) { if (curRoom != null) { yield return(EixtRoom(ExitRoomType.EnterNextRoom)); } curRoom = room; yield return(curRoom.Enter()); }