示例#1
0
    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);
        }
    }
示例#2
0
 public void OnClic()
 {
     EventCreationObject.SetUnit(NameUnitBottom);
 }