void LateUpdate() { // If we aren't loaded or we're not wanting to unload then do nothing if (!isLoaded || unloadTime == 0) { return; } // If we're past the unload time then unload if (System.Diagnostics.Stopwatch.GetTimestamp() > unloadTime) { // Disable the maps if (OnDemandStorage.DisableBodyPQS(sphere.name)) { Debug.Log("[OD] Disabling Body " + base.sphere.name + ": " + isLoaded); } isLoaded = false; } }