示例#1
0
 public void OnScroll(PointerEventData eventData)
 {
     if (onScroll != null)
     {
         onScroll.CallEventHandle(this.gameObject, eventData);
     }
 }
示例#2
0
 public void OnMove(AxisEventData eventData)
 {
     if (onMove != null)
     {
         onMove.CallEventHandle(this.gameObject, eventData);
     }
 }
示例#3
0
 public void OnUpdateSelected(BaseEventData eventData)
 {
     if (onUpdateSelect != null)
     {
         onUpdateSelect.CallEventHandle(this.gameObject, eventData);
     }
 }
示例#4
0
 public void OnDeselect(BaseEventData eventData)
 {
     if (onDeSelect != null)
     {
         onDeSelect.CallEventHandle(this.gameObject, eventData);
     }
 }
示例#5
0
 public void OnPointerExit(PointerEventData eventData)
 {
     if (onExit != null)
     {
         onExit.CallEventHandle(this.gameObject, eventData);
     }
 }
示例#6
0
 public void OnPointerUp(PointerEventData eventData)
 {
     if (onUp != null)
     {
         onUp.CallEventHandle(this.gameObject, eventData);
     }
 }
示例#7
0
 public void OnPointerDown(PointerEventData eventData)
 {
     if (onDown != null)
     {
         onDown.CallEventHandle(this.gameObject, eventData);
     }
 }
示例#8
0
 public void OnPointerClick(PointerEventData eventData)
 {
     if (onClick != null)
     {
         onClick.CallEventHandle(this.gameObject, eventData);
     }
 }
示例#9
0
 public void OnEndDrag(PointerEventData eventData)
 {
     if (onDragEnd != null)
     {
         onDragEnd.CallEventHandle(this.gameObject, eventData);
     }
 }