Exemplo n.º 1
0
 private void OnApplicationPause(bool pause)
 {
     if (this.m_bInit)
     {
         if (!pause)
         {
             GSDK.GoFront();
         }
         else
         {
             GSDK.GoBack();
         }
     }
     if (NetworkAccelerator.Inited)
     {
         if (!pause)
         {
             NetworkAccelerator.GoFront();
         }
         else
         {
             NetworkAccelerator.GoBack();
         }
     }
 }