C# 클래스 TBDragToMove, swip3

상속: MonoBehaviour
파일 보기 프로젝트 열기: unit9/swip3

공개 프로퍼티들

프로퍼티 타입 설명
DragPlaneCollider Collider
DragPlaneOffset float
RaycastCamera Camera

공개 메소드들

메소드 설명
FixedUpdate ( ) : void
HandleDrag ( DragGesture gesture ) : void
OnDisable ( ) : void
OnDrag ( DragGesture gesture ) : void
ProjectScreenPointOnDragPlane ( Vector3 refPos, Vector2 screenPos, Vector3 &worldPos ) : bool
Start ( ) : void

메소드 상세

FixedUpdate() 공개 메소드

public FixedUpdate ( ) : void
리턴 void

HandleDrag() 공개 메소드

public HandleDrag ( DragGesture gesture ) : void
gesture DragGesture
리턴 void

OnDisable() 공개 메소드

public OnDisable ( ) : void
리턴 void

OnDrag() 공개 메소드

public OnDrag ( DragGesture gesture ) : void
gesture DragGesture
리턴 void

ProjectScreenPointOnDragPlane() 공개 메소드

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

Start() 공개 메소드

public Start ( ) : void
리턴 void

프로퍼티 상세

DragPlaneCollider 공개적으로 프로퍼티

public Collider DragPlaneCollider
리턴 Collider

DragPlaneOffset 공개적으로 프로퍼티

public float DragPlaneOffset
리턴 float

RaycastCamera 공개적으로 프로퍼티

public Camera RaycastCamera
리턴 Camera