public void Restart() { gameOverPanel.gameObject.SetActive(false); field.Clear(); players.ForEach(p => p.Clear()); Start(); }
protected void _Clear() { FieldUnit.ClearAllUnits(); _fieldController.Clear(); Task.ClearTasks(); GlobalDataHolder.player.ui.Clear(); GlobalDataHolder.Clear(); }
//----------------------------------------------------------------------------------- public void ClearField() { FieldController.Clear(false); }