void IEndDragHandler.OnEndDrag(PointerEventData eventData) { var action = new UiEndDragActionData(); action.GroupId = GroupId; action.Sender = gameObject; action.EventData = eventData; SendActionData(action); }
void IEndDragHandler.OnEndDrag(PointerEventData eventData) { if (Singleton.IsTypeRegistered <UnityEventBus> ()) { var action = new UiEndDragActionData(); action.GroupId = GroupId; action.Sender = gameObject; action.EventData = eventData; Singleton.Get <UnityEventBus> ().Publish <UiEndDragActionData> (action); } }