// // Moving // public void SetTarget(NodeController node) { target = node; gameObject.transform.position = target.BuildPosition(); }
// Building private void SetTower(TowerBlueprint towerBlueprint) { GameObject tower = (GameObject)Instantiate(towerBlueprint.prefab, selectedNode.BuildPosition(), Quaternion.identity); selectedNode.SetTower(tower, towerBlueprint.title); }