public static void BindDrop(GameObject go, UIEvent.DelegateWithEventData fun) { GetHandler <EventTriggerDrag>(go).onDrop = fun; }
public static void BindInitializePotentialDrag(GameObject go, UIEvent.DelegateWithEventData fun) { GetHandler <EventTriggerDrag>(go).onInitializePotentialDrag = fun; }
public static void BindExit(GameObject go, UIEvent.DelegateWithEventData fun) { GetHandler <EventTriggerEnterExit>(go).onExit = fun; }
public static void BindUp(GameObject go, UIEvent.DelegateWithEventData fun) { GetHandler <EventTriggerDownUp>(go).onUp = fun; }
public static void BindEventClick(GameObject go, UIEvent.DelegateWithEventData fun) { GetHandler <EventTriggerClick>(go).onClickWithEvtent = fun; }