C# Class TBDragToMove, swip3

Inheritance: MonoBehaviour
ファイルを表示 Open project: unit9/swip3

Public Properties

Property Type Description
DragPlaneCollider Collider
DragPlaneOffset float
RaycastCamera Camera

Public Methods

Method Description
FixedUpdate ( ) : void
HandleDrag ( DragGesture gesture ) : void
OnDisable ( ) : void
OnDrag ( DragGesture gesture ) : void
ProjectScreenPointOnDragPlane ( Vector3 refPos, Vector2 screenPos, Vector3 &worldPos ) : bool
Start ( ) : void

Method Details

FixedUpdate() public method

public FixedUpdate ( ) : void
return void

HandleDrag() public method

public HandleDrag ( DragGesture gesture ) : void
gesture DragGesture
return void

OnDisable() public method

public OnDisable ( ) : void
return void

OnDrag() public method

public OnDrag ( DragGesture gesture ) : void
gesture DragGesture
return void

ProjectScreenPointOnDragPlane() public method

public ProjectScreenPointOnDragPlane ( Vector3 refPos, Vector2 screenPos, Vector3 &worldPos ) : bool
refPos Vector3
screenPos Vector2
worldPos Vector3
return bool

Start() public method

public Start ( ) : void
return void

Property Details

DragPlaneCollider public_oe property

public Collider DragPlaneCollider
return Collider

DragPlaneOffset public_oe property

public float DragPlaneOffset
return float

RaycastCamera public_oe property

public Camera RaycastCamera
return Camera