private 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) { return; } // Disable the maps if (OnDemandStorage.DisableBodyPqs(sphere.name)) { Debug.Log("[OD] Disabling Body " + sphere.name + ": " + _isLoaded); } _isLoaded = false; }