C# Class CardboardControlBox

Inheritance: MonoBehaviour
Mostra file Open project: waltzaround/Cardboard-Asteroids Class Usage Examples

Public Properties

Property Type Description
OnTilt CardboardControlDelegate
tiltKey KeyCode,
useEventCooldowns bool
vibrateOnOrientationTilt bool

Public Methods

Method Description
IsTilted ( ) : bool
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
CheckOrientation ( ) : void
KeyFor ( string movement ) : bool
ReportTilt ( ) : void

Method Details

IsTilted() public method

public IsTilted ( ) : bool
return bool

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

OnTilt public_oe property

public CardboardControlDelegate OnTilt
return CardboardControlDelegate

tiltKey public_oe property

public KeyCode, tiltKey
return KeyCode,

useEventCooldowns public_oe property

public bool useEventCooldowns
return bool

vibrateOnOrientationTilt public_oe property

public bool vibrateOnOrientationTilt
return bool