Ejemplo n.º 1
0
 public DragFromPlayerGestureEvent(eDragFromPlayerGestureEventType eventType, Vector3 screenPosition, Transform target) : this(eventType, screenPosition)
 {
     this.target = target;
     if (target != null)
     {
         this.position = target.position;
     }
 }
Ejemplo n.º 2
0
 public DragFromPlayerGestureEvent(eDragFromPlayerGestureEventType eventType, Vector3 screenPosition, Vector3 position) : this(eventType, screenPosition)
 {
     this.target   = null;
     this.position = position;
 }
Ejemplo n.º 3
0
 public DragFromPlayerGestureEvent(eDragFromPlayerGestureEventType eventType, Vector3 screenPosition)
 {
     this.eventType      = eventType;
     this.screenPosition = screenPosition;
 }