void onEnemyLeave()
 {
     gm.enemyBall.gameObject.SetActive(false);
     UITips.PopUp(new UITipsParam()
     {
         Confirm  = LanguageManager.GetText("Confirm"),
         Title    = LanguageManager.GetText("Tip"),
         Content  = LanguageManager.GetText("EnemyLeave"),
         Callback = () => { SceneManager.LoadScene("initScene"); }
     });
 }
Beispiel #2
0
 private void OnNetworkStatusChanged(NetworkStatusEventParam status)
 {
     switch (status)
     {
     case NetworkStatusEventParam.Closed:
         UITips.PopUp(new UITipsParam()
         {
             Content  = "aaaaaa",
             Callback = () => { SceneManager.LoadScene("initScene"); }
         });
         break;
     }
 }