public static void UpdateVRCameraTransform(FPSCamera fpsCamera) { if (!FocusStateManager.CurrentState.Equals(eFocusState.InElevator)) { fpsCamera.transform.position = HMD.GetWorldPosition(); } fpsCamera.m_camera.transform.parent.localRotation = Quaternion.Euler(HMD.GetVRCameraEulerRelativeToFPSCameraParent()); fpsCamera.UpdateCameraRay(); }