예제 #1
0
 // Use this for initialization
 public static void StartGame()
 {
     ClearGame();
     MySelf.SpawnRoles();
     MySelf.MyBattleCanvas.Init(MyPlayerRole, MyEnemyRole);
     BattleCanvas.SetStage();
     SetPause(true);
     BattleCanvas.StartGame();
 }
예제 #2
0
 public static void ReStartGame()
 {
     ClearGame();
     MySelf.SpawnRoles();
     MySelf.MyBattleCanvas.Init(MyPlayerRole, MyEnemyRole);
     BattleCanvas.ReStartGame();
     MyPlayerRole.StartConditionRefresh();
     MyEnemyRole.StartConditionRefresh();
     SetPause(true);
     BattleCanvas.StartGame();
 }