Example #1
0
 void OnEnable()
 {
     genTimer = FindObjectOfType <GeneralTimer>();
     Interact.OnTurnOnEvent   += TurnOnInteractionRecord;
     Interact.OnRotateEvent   += RecordRRotation;
     SceneManager.sceneLoaded += SceneJumpRecord;
 }
Example #2
0
 void OnEnable()
 {
     roomManager   = FindObjectOfType <RoomManager>();
     loadingScreen = GetLoadingScreen();
     genTimer      = FindObjectOfType <GeneralTimer>();
 }