예제 #1
0
    public void Restart()
    {
        gameOverPanel.gameObject.SetActive(false);
        field.Clear();
        players.ForEach(p => p.Clear());

        Start();
    }
예제 #2
0
 protected void _Clear()
 {
     FieldUnit.ClearAllUnits();
     _fieldController.Clear();
     Task.ClearTasks();
     GlobalDataHolder.player.ui.Clear();
     GlobalDataHolder.Clear();
 }
 //-----------------------------------------------------------------------------------
 public void ClearField()
 {
     FieldController.Clear(false);
 }