C# Class VRTK.Examples.RealGun_SafetySwitch

Inheritance: VRTK_InteractableObject
Show file Open project: nrebei2/Portals-VR Class Usage Examples

Public Properties

Property Type Description
safetyOff bool

Public Methods

Method Description
StartUsing ( VRTK_InteractUse currentUsingObject ) : void

Protected Methods

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

Private Methods

Method Description
SetSafety ( bool safety ) : void

Method Details

Start() protected method

protected Start ( ) : void
return void

StartUsing() public method

public StartUsing ( VRTK_InteractUse currentUsingObject ) : void
currentUsingObject VRTK_InteractUse
return void

Update() protected method

protected Update ( ) : void
return void

Property Details

safetyOff public property

public bool safetyOff
return bool