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