public override IEnumerator OnTowerClick(IGridObject tower, PointerEventData eventData)
        {
            yield return(GameManager.Instance.UiManager.HideCancelButton());

            yield return(GameManager.Instance.UiManager.HideTowerActionBar());

            yield return(StateUtility.OnTowerClick(tower, eventData));
        }
Esempio n. 2
0
 public override IEnumerator OnTowerClick(IGridObject tower, PointerEventData eventData) =>
 StateUtility.OnTowerClick(tower, eventData);