Пример #1
0
 public static void ReStartGame()
 {
     ClearGame();
     MySelf.SpawnRoles();
     MySelf.MyBattleCanvas.Init(MyPlayerRole, MyEnemyRole);
     BattleCanvas.ReStartGame();
     MyPlayerRole.StartConditionRefresh();
     MyEnemyRole.StartConditionRefresh();
     SetPause(true);
     BattleCanvas.StartGame();
 }
Пример #2
0
 public static void NextGame()
 {
     MySelf.ClearEnemyRole();
     MySelf.SpanwEnemyRole();
     DestroyAllAmmo();
     MyPlayerRole.SetTarget(MyEnemyRole);
     MySelf.MyBattleCanvas.Init(MyPlayerRole, MyEnemyRole);
     BattleCanvas.ReStartGame();
     MyPlayerRole.StartConditionRefresh();
     MyEnemyRole.StartConditionRefresh();
     SetPause(false);
     CanPressSettingBtn = true;
 }