Cornell Tech-Unity-project  1.0
Public Attributes | List of all members
RoomManager Class Reference

Attached to each scene/room. When the room is loaded, items are placed/instaitated according to room data for room and player is placed in the spawn corresponding to the room that they last came from. If the room has been never been visited, scene will load normally without placing items. More...

Inheritance diagram for RoomManager:

Public Attributes

RoomIdentifier player
 
FirstPersonController fpsController
 
Room currentRoom
 
GameObject spawns
 
PrefabDB prefabsDB
 

Detailed Description

Attached to each scene/room. When the room is loaded, items are placed/instaitated according to room data for room and player is placed in the spawn corresponding to the room that they last came from. If the room has been never been visited, scene will load normally without placing items.

Member Data Documentation

Room RoomManager.currentRoom
FirstPersonController RoomManager.fpsController
RoomIdentifier RoomManager.player
PrefabDB RoomManager.prefabsDB
GameObject RoomManager.spawns

The documentation for this class was generated from the following file: