C# Class VRControllerButtonHints

Inheritance: MonoBehaviour
Show file Open project: adamhleslie/MorningRitual-GlobalGameJam2016 Class Usage Examples

Public Properties

Property Type Description
controllerMaterial Material
flashColor Color

Public Methods

Method Description
Awake ( ) : void
Clear ( ) : void
FlashRenderers ( string componentName ) : void
Hide ( ) : void
Hide ( VRHand, hand ) : void
OnDisable ( ) : void
OnHandInitialized ( int deviceIndex ) : void
Show ( ) : void
Show ( VRHand, hand ) : void
Update ( ) : void

Private Methods

Method Description
RemapNumber ( float num, float low1, float high1, float low2, float high2 ) : float
RemapNumberClamped ( float num, float low1, float high1, float low2, float high2 ) : float
Test ( ) : IEnumerator

Method Details

Awake() public method

public Awake ( ) : void
return void

Clear() public method

public Clear ( ) : void
return void

FlashRenderers() public method

public FlashRenderers ( string componentName ) : void
componentName string
return void

Hide() public method

public Hide ( ) : void
return void

Hide() public static method

public static Hide ( VRHand, hand ) : void
hand VRHand,
return void

OnDisable() public method

public OnDisable ( ) : void
return void

OnHandInitialized() public method

public OnHandInitialized ( int deviceIndex ) : void
deviceIndex int
return void

Show() public method

public Show ( ) : void
return void

Show() public static method

public static Show ( VRHand, hand ) : void
hand VRHand,
return void

Update() public method

public Update ( ) : void
return void

Property Details

controllerMaterial public property

public Material controllerMaterial
return Material

flashColor public property

public Color flashColor
return Color