public static void ReStartGame() { ClearGame(); MySelf.SpawnRoles(); MySelf.MyBattleCanvas.Init(MyPlayerRole, MyEnemyRole); BattleCanvas.ReStartGame(); MyPlayerRole.StartConditionRefresh(); MyEnemyRole.StartConditionRefresh(); SetPause(true); BattleCanvas.StartGame(); }
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; }