public void OnMouseUpAsButton() { if (!EventSystem.current.IsPointerOverGameObject()) { tower.Click(); } }