using System; using System.Collections; using System.Collections.Generic; using Cpp2IlInjected; using UnityEngine; namespace MTAssets.UltimateLODSystem { // Token: 0x0200060A RID: 1546 [Token(Token = "0x200060A")] [AddComponentMenu("MT Assets/Ultimate LOD System/Ultimate Level Of Detail Optimizer")] public class UltimateLevelOfDetailOptimizer : MonoBehaviour { // Token: 0x0600305F RID: 12383 RVA: 0x0006651C File Offset: 0x0006471C [Token(Token = "0x600305F")] [Address(RVA = "0x967450", Offset = "0x965C50", VA = "0x180967450")] public void Awake() { int num; UltimateLevelOfDetailOptimizer.d__9 d__ = new UltimateLevelOfDetailOptimizer.d__9(num); num = 0; d__.<>4__this = this; Coroutine coroutine = base.StartCoroutine(d__); } // Token: 0x06003060 RID: 12384 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x6003060")] [Address(RVA = "0x967660", Offset = "0x965E60", VA = "0x180967660")] private bool isThisUlodPresentOnUlodsToBeIgnored(UltimateLevelOfDetail ulod) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x06003061 RID: 12385 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x6003061")] [Address(RVA = "0x9674D0", Offset = "0x965CD0", VA = "0x1809674D0")] private IEnumerator UlodOptimizationLoop() { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x06003062 RID: 12386 RVA: 0x00066548 File Offset: 0x00064748 [Token(Token = "0x6003062")] [Address(RVA = "0x967540", Offset = "0x965D40", VA = "0x180967540")] public UltimateLevelOfDetailOptimizer() { WaitForSecondsRealtime waitForSecondsRealtime = new WaitForSecondsRealtime(0.2f); this.DELAY_BETWEEN_OPTIMIZATION_UPDATES = waitForSecondsRealtime; WaitForSecondsRealtime waitForSecondsRealtime2 = new WaitForSecondsRealtime(0.05f); this.DELAY_BETWEEN_GAMEOBJECTS_STATE_CHANGE = waitForSecondsRealtime2; this.ADITIONAL_CULLING_DISTANCE_OFFSET = 10f; int[] array = new int[0]; this.instructionsToMakeOnUlods = array; this.enableOptimizationTasks = true; List list = new List(); this.ulodsToBeIgnored = list; base..ctor(); } // Token: 0x04003AB8 RID: 15032 [FieldOffset(Offset = "0x18")] [Token(Token = "0x4003AB8")] private WaitForSecondsRealtime DELAY_BETWEEN_OPTIMIZATION_UPDATES; // Token: 0x04003AB9 RID: 15033 [FieldOffset(Offset = "0x20")] [Token(Token = "0x4003AB9")] private WaitForSecondsRealtime DELAY_BETWEEN_GAMEOBJECTS_STATE_CHANGE; // Token: 0x04003ABA RID: 15034 [FieldOffset(Offset = "0x28")] [Token(Token = "0x4003ABA")] private float ADITIONAL_CULLING_DISTANCE_OFFSET; // Token: 0x04003ABB RID: 15035 [FieldOffset(Offset = "0x30")] [Token(Token = "0x4003ABB")] private RuntimeInstancesDetector runtimeInstancesDetector; // Token: 0x04003ABC RID: 15036 [FieldOffset(Offset = "0x38")] [Token(Token = "0x4003ABC")] private int[] instructionsToMakeOnUlods; // Token: 0x04003ABD RID: 15037 [FieldOffset(Offset = "0x40")] [Token(Token = "0x4003ABD")] [HideInInspector] public bool enableOptimizationTasks; // Token: 0x04003ABE RID: 15038 [FieldOffset(Offset = "0x48")] [Token(Token = "0x4003ABE")] [HideInInspector] public List ulodsToBeIgnored; } }