void Start() { // record this.isFrameRateLimitForBoundary = BoundarySystem.UPvr_GetFrameRateLimit(); this.recordTargetFrameRate = Application.targetFrameRate; #if !UNITY_EDITOR && UNITY_ANDROID SetCamerasEnableByStereoRendering(); SetupMonoCamera(); #endif #if UNITY_EDITOR SetCameraEnableEditor(); #endif }
void Start() { Setup(eyeSide); SetupUpdate(); if (eyecamera != null) { #region BoundarySystem // record eyeCameraOriginCullingMask = eyecamera.cullingMask; eyeCameraOriginClearFlag = eyecamera.clearFlags; eyeCameraOriginBackgroundColor = eyecamera.backgroundColor; applicationOriginFrameRate = Application.targetFrameRate; boundaryFrameRate = BoundarySystem.UPvr_GetFrameRateLimit(); #endregion } }