void IEndDragHandler.OnEndDrag(PointerEventData eventData) { var action = UiActionDataBase.GetFromPool <UiEndDragActionData> (gameObject, GroupId, eventData); Singleton.Get <UnityEventBus> ().Publish <UiEndDragActionData> (action); action.RecycleToPool(); }
void ISelectHandler.OnSelect(BaseEventData eventData) { var action = UiActionDataBase.GetFromPool <UiSelectActionData> (gameObject, GroupId, eventData); Singleton.Get <UnityEventBus> ().Publish <UiSelectActionData> (action); action.RecycleToPool(); }