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