Property | Type | Description | |
---|---|---|---|
DragPlaneCollider | Collider | ||
DragPlaneOffset | float | ||
RaycastCamera | Camera |
Method | Description | |
---|---|---|
FixedUpdate ( ) : void | ||
HandleDrag ( DragGesture gesture ) : void | ||
OnDisable ( ) : void | ||
OnDrag ( DragGesture gesture ) : void | ||
ProjectScreenPointOnDragPlane ( Vector3 refPos, Vector2 screenPos, Vector3 &worldPos ) : bool | ||
Start ( ) : void |
public HandleDrag ( DragGesture gesture ) : void | ||
gesture | DragGesture | |
return | void |
public ProjectScreenPointOnDragPlane ( Vector3 refPos, Vector2 screenPos, Vector3 &worldPos ) : bool | ||
refPos | Vector3 | |
screenPos | Vector2 | |
worldPos | Vector3 | |
return | bool |