Beispiel #1
0
 // Update is called once per frame
 private void Update()
 {
     if (selectedTower)
     {
         if (!selectedTower.IsPurchased())
         {
             snapToGrid.SnapSelectedTowerToGrid();
             previewer.PreviewTower(selectedTower.gameObject);
         }
     }
 }