C# 클래스 OVRPlatformMenu

상속: MonoBehaviour
파일 보기 프로젝트 열기: leapmotion/ImageGrid

공개 프로퍼티들

프로퍼티 타입 설명
cursorTimer GameObject
cursorTimerColor Color
fixedDepth float

공개 메소드들

메소드 설명
Awake ( ) : void

Instantiate the cursor timer

OnApplicationFocus ( bool focusState ) : void

Reset when resuming

OnApplicationPause ( bool pauseStatus ) : void

Reset when resuming

OnDestroy ( ) : void

Destroy the cloned material

ResetCursor ( ) : void
ShowConfirmQuitMenu ( ) : void

Show the confirm quit menu

ShowGlobalMenu ( ) : void

Show the platform UI global menu

Update ( ) : void

Tests for long-press and activates global platform menu when detected. as per the Unity integration doc, the back button responds to "mouse 1" button down/up/etc

UpdateCursor ( float timerRotateRatio ) : void

Update the cursor based on how long the back button is pressed

비공개 메소드들

메소드 설명
HandleBackButtonState ( ) : eBackButtonAction
ResetAndSendAction ( eBackButtonAction action ) : eBackButtonAction

메소드 상세

Awake() 공개 메소드

Instantiate the cursor timer
public Awake ( ) : void
리턴 void

OnApplicationFocus() 공개 메소드

Reset when resuming
public OnApplicationFocus ( bool focusState ) : void
focusState bool
리턴 void

OnApplicationPause() 공개 메소드

Reset when resuming
public OnApplicationPause ( bool pauseStatus ) : void
pauseStatus bool
리턴 void

OnDestroy() 공개 메소드

Destroy the cloned material
public OnDestroy ( ) : void
리턴 void

ResetCursor() 공개 메소드

public ResetCursor ( ) : void
리턴 void

ShowConfirmQuitMenu() 공개 메소드

Show the confirm quit menu
public ShowConfirmQuitMenu ( ) : void
리턴 void

ShowGlobalMenu() 공개 메소드

Show the platform UI global menu
public ShowGlobalMenu ( ) : void
리턴 void

Update() 공개 메소드

Tests for long-press and activates global platform menu when detected. as per the Unity integration doc, the back button responds to "mouse 1" button down/up/etc
public Update ( ) : void
리턴 void

UpdateCursor() 공개 메소드

Update the cursor based on how long the back button is pressed
public UpdateCursor ( float timerRotateRatio ) : void
timerRotateRatio float
리턴 void

프로퍼티 상세

cursorTimer 공개적으로 프로퍼티

A timer that appears at the gaze cursor before a platform UI transition.
public GameObject cursorTimer
리턴 GameObject

cursorTimerColor 공개적으로 프로퍼티

The current color of the cursor timer.
public Color cursorTimerColor
리턴 Color

fixedDepth 공개적으로 프로퍼티

The distance at which the cursor timer appears.
public float fixedDepth
리턴 float