using System; using System.Collections; using Cpp2IlInjected; using UnityEngine; namespace MTAssets.UltimateLODSystem { // Token: 0x020005FB RID: 1531 [Token(Token = "0x20005FB")] [AddComponentMenu("")] public class RuntimeCameraDetector : MonoBehaviour { // Token: 0x06003006 RID: 12294 RVA: 0x00065DA8 File Offset: 0x00063FA8 [Token(Token = "0x6003006")] [Address(RVA = "0x471E20", Offset = "0x470620", VA = "0x180471E20")] public void Awake() { Camera[] allCameras = Camera.allCameras; this.currentArrayOfCameras = allCameras; int num; RuntimeCameraDetector.d__4 d__ = new RuntimeCameraDetector.d__4(num); num = 0; d__.<>4__this = this; Coroutine coroutine = base.StartCoroutine(d__); int num2; RuntimeCameraDetector.d__5 d__ = new RuntimeCameraDetector.d__5(num2); num2 = 0; d__.<>4__this = this; Coroutine coroutine2 = base.StartCoroutine(d__); } // Token: 0x06003007 RID: 12295 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x6003007")] [Address(RVA = "0x471DB0", Offset = "0x4705B0", VA = "0x180471DB0")] private IEnumerator ArrayOfCamerasDelayedUpdater() { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x06003008 RID: 12296 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x6003008")] [Address(RVA = "0x471F10", Offset = "0x470710", VA = "0x180471F10")] private IEnumerator CurrentCameraOnScreenDetector() { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x06003009 RID: 12297 RVA: 0x00065E04 File Offset: 0x00064004 [Token(Token = "0x6003009")] [Address(RVA = "0x471F80", Offset = "0x470780", VA = "0x180471F80")] public RuntimeCameraDetector() { WaitForSecondsRealtime waitForSecondsRealtime = new WaitForSecondsRealtime(0.5f); this.DELAY_BETWEEN_ARRAY_OF_CAMERAS_UPDATE = waitForSecondsRealtime; WaitForSecondsRealtime waitForSecondsRealtime2 = new WaitForSecondsRealtime(0.09f); this.DELAY_BETWEEN_CURRENT_CAMERA_DETECTOR = waitForSecondsRealtime2; Camera[] array = new Camera[0]; this.currentArrayOfCameras = array; base..ctor(); } // Token: 0x04003A54 RID: 14932 [FieldOffset(Offset = "0x18")] [Token(Token = "0x4003A54")] private WaitForSecondsRealtime DELAY_BETWEEN_ARRAY_OF_CAMERAS_UPDATE; // Token: 0x04003A55 RID: 14933 [FieldOffset(Offset = "0x20")] [Token(Token = "0x4003A55")] private WaitForSecondsRealtime DELAY_BETWEEN_CURRENT_CAMERA_DETECTOR; // Token: 0x04003A56 RID: 14934 [FieldOffset(Offset = "0x28")] [Token(Token = "0x4003A56")] private Camera[] currentArrayOfCameras; } }