Class ToolGun
- Namespace
- FistVR
- Assembly
- Assembly-CSharp.dll
public class ToolGun : ToolBoxTool
- Inheritance
-
ToolGun
- Derived
- Inherited Members
Constructors
ToolGun()
public ToolGun()
Fields
AudEvent_Failure
public AudioEvent AudEvent_Failure
Field Value
AudEvent_HoverEnd
public AudioEvent AudEvent_HoverEnd
Field Value
AudEvent_HoverStart
public AudioEvent AudEvent_HoverStart
Field Value
AudEvent_ModeSwitch
public AudioEvent AudEvent_ModeSwitch
Field Value
AudEvent_RockerSwitchOff
public AudioEvent AudEvent_RockerSwitchOff
Field Value
AudEvent_RockerSwitchOn
public AudioEvent AudEvent_RockerSwitchOn
Field Value
AudEvent_Success
public AudioEvent AudEvent_Success
Field Value
AudLoop
public AudioSource AudLoop
Field Value
- AudioSource
CopyFrom
public ToolGun CopyFrom
Field Value
LM_Env
public LayerMask LM_Env
Field Value
- LayerMask
LM_LaserSelect
public LayerMask LM_LaserSelect
Field Value
- LayerMask
Laser
public Transform Laser
Field Value
- Transform
Muzzle
public Transform Muzzle
Field Value
- Transform
Trigger
public Transform Trigger
Field Value
- Transform
TriggerAxis
public FVRPhysicalObject.Axis TriggerAxis
Field Value
TriggerInterpStyle
public FVRPhysicalObject.InterpStyle TriggerInterpStyle
Field Value
TriggerVars
public Vector2 TriggerVars
Field Value
- Vector2
Methods
CanSelect(FVRPhysicalObject)
public bool CanSelect(FVRPhysicalObject o)
Parameters
Returns
ClearFunction()
public virtual void ClearFunction()
CopyFromOther()
public void CopyFromOther()
EndInteraction(FVRViveHand)
public override void EndInteraction(FVRViveHand hand)
Parameters
hand
FVRViveHand
EndInteractionIntoInventorySlot(FVRViveHand, FVRQuickBeltSlot)
public override void EndInteractionIntoInventorySlot(FVRViveHand hand, FVRQuickBeltSlot slot)
Parameters
hand
FVRViveHandslot
FVRQuickBeltSlot
PlayAudEvent(AudioEvent)
public FVRPooledAudioSource PlayAudEvent(AudioEvent ev)
Parameters
ev
AudioEvent
Returns
UpdateInteraction(FVRViveHand)
public override void UpdateInteraction(FVRViveHand hand)
Parameters
hand
FVRViveHand