Exemplo n.º 1
0
 public void SetOnDragBeginEvent(UnityAction <GameObject, Vector2> onDragBegin)
 {
     DragListener.Get(gameObject).SetOnDragBeginEvent(onDragBegin);
 }
Exemplo n.º 2
0
 public void RemoveOnDragEndEvent(UnityAction <GameObject, Vector2> onDragEnd)
 {
     DragListener.Get(gameObject).RemoveOnDragEndEvent(onDragEnd);
 }
Exemplo n.º 3
0
 // 拖拽
 public void AddOnDragEvent(UnityAction <GameObject, Vector2> onDrag)
 {
     DragListener.Get(gameObject).AddOnDragEvent(onDrag);
 }