C# Class TBDragToMove, swip3

Inheritance: MonoBehaviour
Afficher le fichier Open project: unit9/swip3

Méthodes publiques

Свойство Type Description
DragPlaneCollider Collider
DragPlaneOffset float
RaycastCamera Camera

Méthodes publiques

Méthode 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 méthode

public FixedUpdate ( ) : void
Résultat void

HandleDrag() public méthode

public HandleDrag ( DragGesture gesture ) : void
gesture DragGesture
Résultat void

OnDisable() public méthode

public OnDisable ( ) : void
Résultat void

OnDrag() public méthode

public OnDrag ( DragGesture gesture ) : void
gesture DragGesture
Résultat void

ProjectScreenPointOnDragPlane() public méthode

public ProjectScreenPointOnDragPlane ( Vector3 refPos, Vector2 screenPos, Vector3 &worldPos ) : bool
refPos Vector3
screenPos Vector2
worldPos Vector3
Résultat bool

Start() public méthode

public Start ( ) : void
Résultat void

Property Details

DragPlaneCollider public_oe property

public Collider DragPlaneCollider
Résultat Collider

DragPlaneOffset public_oe property

public float DragPlaneOffset
Résultat float

RaycastCamera public_oe property

public Camera RaycastCamera
Résultat Camera