예제 #1
0
 internal void Destroy()
 {
     if (this.IsRunning)
     {
         this.Stop();                              // Playing safe
     }
     INSTANCE = null;
 }
예제 #2
0
 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));
 }