Beispiel #1
0
    private void NextPlayerTurn()
    {
        currentPlayer = turnManager.GetPlayer();
        unitPlacer    = currentPlayer.GetComponentInChildren <UnitPlacer>();

        if (selectedUnit != null)
        {
            this.selectedUnit.SetSelected(false);
            this.selectedUnit = null;
        }
    }
Beispiel #2
0
 private void Awake()
 {
     Instance = this;
 }
 private void Awake()
 {
     placer = FindObjectOfType <UnitPlacer>();
 }