public void OnPointerClick(PointerEventData eventData) { EventAggregator.SummonPanelVisibility("InfoList", true); EventAggregator.SummonCellResourcesInThePanel(_resourcesInformation, _textInformation); EventCreationObject.UnitPosition(Transform.position); EventAggregator.SummonTest(this, true); if (IsPassable) { _unit.Moving(Transform.position); } }
public void OnClic() { EventCreationObject.SetUnit(NameUnitBottom); }