internal void Destroy() { if (this.IsRunning) { this.Stop(); // Playing safe } INSTANCE = null; }
internal void Destroy() { if (this.IsRunning) { this.Stop(); // Playing safe } INSTANCE = null; Logging.ModLogger.Instance.Log(LogType.Exception, string.Format("PerformanceMetrics: Unity Settings On Destroy: {0} {1} {2}", QualitySettings.vSyncCount, Application.targetFrameRate, Application.runInBackground)); }