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