C# 클래스 VRPlayer

Singleton representing the local VR player/user, with methods for getting the player's hands, head, tracking origin, and guesses for various properties.
상속: MonoBehaviour
파일 보기 프로젝트 열기: adamhleslie/MorningRitual-GlobalGameJam2016 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
allowToggleTo2D bool

공개 메소드들

메소드 설명
Awake ( ) : void
GetHand ( int i ) : VRHand,

Get the i-th active VRHand.

OnDrawGizmos ( ) : void
OnEnable ( ) : void
OnGUI ( ) : void
Teleport ( Transform destination ) : void

비공개 메소드들

메소드 설명
ActivateRig ( GameObject rig ) : void

메소드 상세

Awake() 공개 메소드

public Awake ( ) : void
리턴 void

GetHand() 공개 메소드

Get the i-th active VRHand.
public GetHand ( int i ) : VRHand,
i int Zero-based index of the active VRHand to get
리턴 VRHand,

OnDrawGizmos() 공개 메소드

public OnDrawGizmos ( ) : void
리턴 void

OnEnable() 공개 메소드

public OnEnable ( ) : void
리턴 void

OnGUI() 공개 메소드

public OnGUI ( ) : void
리턴 void

Teleport() 공개 메소드

public Teleport ( Transform destination ) : void
destination Transform
리턴 void

프로퍼티 상세

allowToggleTo2D 공개적으로 프로퍼티

public bool allowToggleTo2D
리턴 bool