예제 #1
0
 public static void AddOnPanelClickIfNotAlready(GameObject obj, Object target, UnityAction <BaseEventData> action)
 {
     PointerTrigger.AddEventIfNotAlready(obj, EventTriggerType.PointerClick, target, action);
 }
예제 #2
0
 public void AddPointerEvent(EventTriggerType type, UnityAction <BaseEventData> pointerEvent)
 {
     PointerTrigger.AddEvent(gameObject, type, pointerEvent);
 }