Пример #1
0
 public void OnMouseUpAsButton()
 {
     if (!EventSystem.current.IsPointerOverGameObject())
     {
         tower.Click();
     }
 }