C# Class Prime31.TKLTouch

Afficher le fichier Open project: prime31/TouchKit Class Usage Examples

Méthodes publiques

Свойство Type Description
deltaPosition UnityEngine.Vector2
deltaTime float
fingerId int
phase TouchPhase
position UnityEngine.Vector2
tapCount int

Méthodes publiques

Méthode Description
TKLTouch ( int fingerId ) : System.Collections
ToString ( ) : string
hasMouseInput ( ) : bool
populate ( ) : void

populates the TKLTouch with either mouse or touch input

populateFromMouse ( ) : TKLTouch
populateWithPosition ( Vector3 currentPosition, TouchPhase touchPhase ) : TKLTouch
populateWithTouch ( Touch touch ) : TKLTouch

Method Details

TKLTouch() public méthode

public TKLTouch ( int fingerId ) : System.Collections
fingerId int
Résultat System.Collections

ToString() public méthode

public ToString ( ) : string
Résultat string

hasMouseInput() public méthode

public hasMouseInput ( ) : bool
Résultat bool

populate() public méthode

populates the TKLTouch with either mouse or touch input
public populate ( ) : void
Résultat void

populateFromMouse() public méthode

public populateFromMouse ( ) : TKLTouch
Résultat TKLTouch

populateWithPosition() public méthode

public populateWithPosition ( Vector3 currentPosition, TouchPhase touchPhase ) : TKLTouch
currentPosition UnityEngine.Vector3
touchPhase TouchPhase
Résultat TKLTouch

populateWithTouch() public méthode

public populateWithTouch ( Touch touch ) : TKLTouch
touch UnityEngine.Touch
Résultat TKLTouch

Property Details

deltaPosition public_oe property

public Vector2,UnityEngine deltaPosition
Résultat UnityEngine.Vector2

deltaTime public_oe property

public float deltaTime
Résultat float

fingerId public_oe property

public int fingerId
Résultat int

phase public_oe property

public TouchPhase phase
Résultat TouchPhase

position public_oe property

public Vector2,UnityEngine position
Résultat UnityEngine.Vector2

tapCount public_oe property

public int tapCount
Résultat int