C# Class CardboardControlGaze

Inheritance: MonoBehaviour
Mostrar archivo Open project: waltzaround/Cardboard-Asteroids Class Usage Examples

Public Properties

Property Type Description
OnChange CardboardControlDelegate
OnStare CardboardControlDelegate
layerMask LayerMask
maxDistance float
stareTimeThreshold float
useEventCooldowns bool
vibrateOnChange bool
vibrateOnStare bool

Public Methods

Method Description
Hit ( ) : RaycastHit
IsHeld ( ) : bool
Object ( ) : GameObject
PreviousObject ( ) : GameObject
SecondsHeld ( ) : float
Start ( ) : void
Update ( ) : void
WasHeld ( ) : bool

Private Methods

Method Description
CheckGaze ( ) : void
GazeChanged ( ) : bool
ReportGazeChange ( ) : void
ReportStare ( ) : void
Staring ( ) : bool

Method Details

Hit() public method

public Hit ( ) : RaycastHit
return UnityEngine.RaycastHit

IsHeld() public method

public IsHeld ( ) : bool
return bool

Object() public method

public Object ( ) : GameObject
return GameObject

PreviousObject() public method

public PreviousObject ( ) : GameObject
return GameObject

SecondsHeld() public method

public SecondsHeld ( ) : float
return float

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

WasHeld() public method

public WasHeld ( ) : bool
return bool

Property Details

OnChange public_oe property

public CardboardControlDelegate OnChange
return CardboardControlDelegate

OnStare public_oe property

public CardboardControlDelegate OnStare
return CardboardControlDelegate

layerMask public_oe property

public LayerMask layerMask
return LayerMask

maxDistance public_oe property

public float maxDistance
return float

stareTimeThreshold public_oe property

public float stareTimeThreshold
return float

useEventCooldowns public_oe property

public bool useEventCooldowns
return bool

vibrateOnChange public_oe property

public bool vibrateOnChange
return bool

vibrateOnStare public_oe property

public bool vibrateOnStare
return bool