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