Exemplo n.º 1
0
 void Build()
 {
     if (holdingBlock && Input.GetButtonDown(inputBuild))
     {
         tower.Build();
     }
 }
Exemplo n.º 2
0
 private void BuildTower()
 {
     if (!CanBuild())
     {
         return;
     }
     towerManager.Build(selected.geometry);
     HandleFinance(selected);
     _placeholderSelected = false;
 }