Example #1
0
 // since there seems to be no defined way to hit the very first OnApplicationQuit
 // set settings to discard dispose must be called from somewhere else as well
 // (e.g. gameObject's OnApplicationQuit) That is ugly....
 //Edit: This is now called by the GameService right before the application is told to quit
 public void SetOnApplicationQuitSettings()
 {
     if (!applicationQuitting)
     {
         applicationQuitting = true;
         dManager.SkipDispose(true);
     }
 }