Пример #1
0
 //called by any external component to build tower,
 public static string BuildTower(int ID, BuildInfo bInfo, int pointerID = -1)
 {
     if (UseDragNDrop())
     {
         return(instance.StartDragNDrop(ID, pointerID));
     }
     else
     {
         ClearSampleTower();
         return(_BuildTower(instance.towerList[ID], bInfo));
     }
 }