Пример #1
0
 public void TransitionRooms(Interactables.Room targetRoom, Interactables.Door targetDoor)
 {
     gameObject.GetComponent <AudioController>().DoorOpenig();
     player.FadePlayerOut();
     gameBoard.MoveRooms(targetRoom);
     player.TeleportPlayer(targetDoor.GetPlayerPortZonePosition());
     //consider facing direction sprite for player
     player.FadePlayerIn();
 }