public void OnExitButton(GameObject butObj)
        {
            HideTooltip();

            if (!BuildManager.UseDragNDrop())
            {
                BuildManager.ClearSampleTower();
            }
        }
Beispiel #2
0
 public void OnExitHoverButton(GameObject butObj)
 {
     if (GameControl.GetSelectedTower() != null && !GameControl.GetSelectedTower().IsSampleTower())
     {
         return;
     }
     BuildManager.ClearSampleTower();
     //clear tooltip
     UITowerInfo.Hide();
 }