예제 #1
0
 protected void ListenToPointerEvents()
 {
     UIEvents.AddListener(EPointerEvent.PointerDown, OnPointerDown);
     UIEvents.AddListener(EPointerEvent.DragStart, OnDragStart);
     UIEvents.AddListener(EPointerEvent.Drag, OnDrag);
     UIEvents.AddListener(EPointerEvent.DragEnd, OnDragStop);
 }