Ejemplo n.º 1
0
 public void RemoveMode()
 {
     if (curGameMode != null)
     {
         curGameMode.BeforeUnInstall();
         UnityEngine.Object.Destroy(Sys.Stable.PublicVar.GetComponent <BaseGameMode>());
         curGameMode = null;
     }
 }