C# 클래스 Prime31.TKLTouch

파일 보기 프로젝트 열기: prime31/TouchKit 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
deltaPosition UnityEngine.Vector2
deltaTime float
fingerId int
phase TouchPhase
position UnityEngine.Vector2
tapCount int

공개 메소드들

메소드 설명
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

메소드 상세

TKLTouch() 공개 메소드

public TKLTouch ( int fingerId ) : System.Collections
fingerId int
리턴 System.Collections

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

hasMouseInput() 공개 메소드

public hasMouseInput ( ) : bool
리턴 bool

populate() 공개 메소드

populates the TKLTouch with either mouse or touch input
public populate ( ) : void
리턴 void

populateFromMouse() 공개 메소드

public populateFromMouse ( ) : TKLTouch
리턴 TKLTouch

populateWithPosition() 공개 메소드

public populateWithPosition ( Vector3 currentPosition, TouchPhase touchPhase ) : TKLTouch
currentPosition UnityEngine.Vector3
touchPhase TouchPhase
리턴 TKLTouch

populateWithTouch() 공개 메소드

public populateWithTouch ( Touch touch ) : TKLTouch
touch UnityEngine.Touch
리턴 TKLTouch

프로퍼티 상세

deltaPosition 공개적으로 프로퍼티

public Vector2,UnityEngine deltaPosition
리턴 UnityEngine.Vector2

deltaTime 공개적으로 프로퍼티

public float deltaTime
리턴 float

fingerId 공개적으로 프로퍼티

public int fingerId
리턴 int

phase 공개적으로 프로퍼티

public TouchPhase phase
리턴 TouchPhase

position 공개적으로 프로퍼티

public Vector2,UnityEngine position
리턴 UnityEngine.Vector2

tapCount 공개적으로 프로퍼티

public int tapCount
리턴 int