private void LateUpdate() { if (MenuInGameManager.Get().IsAnyScreenVisible() || !this.m_MainCamera.enabled) { return; } CameraManager.Mode mode = this.m_Mode; if (mode != CameraManager.Mode.Normal) { if (mode != CameraManager.Mode.Free) { if (mode == CameraManager.Mode.CutscenePlayer) { this.UpdateCutscenePlayerMode(); } } else { this.UpdateFreeMode(); } } else { this.UpdateNormalMode(); } if (Inventory3DManager.Get().gameObject.activeSelf) { Inventory3DManager.Get().CustomUpdate(); } HUDManager.Get().UpdateAfterCamera(); }
public void SetMode(CameraManager.Mode mode) { this.m_Mode = mode; }