Table of Contents

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

AudioEvent

AudEvent_HoverEnd

public AudioEvent AudEvent_HoverEnd

Field Value

AudioEvent

AudEvent_HoverStart

public AudioEvent AudEvent_HoverStart

Field Value

AudioEvent

AudEvent_ModeSwitch

public AudioEvent AudEvent_ModeSwitch

Field Value

AudioEvent

AudEvent_RockerSwitchOff

public AudioEvent AudEvent_RockerSwitchOff

Field Value

AudioEvent

AudEvent_RockerSwitchOn

public AudioEvent AudEvent_RockerSwitchOn

Field Value

AudioEvent

AudEvent_Success

public AudioEvent AudEvent_Success

Field Value

AudioEvent

AudLoop

public AudioSource AudLoop

Field Value

AudioSource

CopyFrom

public ToolGun CopyFrom

Field Value

ToolGun

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

FVRPhysicalObject.Axis

TriggerInterpStyle

public FVRPhysicalObject.InterpStyle TriggerInterpStyle

Field Value

FVRPhysicalObject.InterpStyle

TriggerVars

public Vector2 TriggerVars

Field Value

Vector2

Methods

CanSelect(FVRPhysicalObject)

public bool CanSelect(FVRPhysicalObject o)

Parameters

o FVRPhysicalObject

Returns

bool

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 FVRViveHand
slot FVRQuickBeltSlot

PlayAudEvent(AudioEvent)

public FVRPooledAudioSource PlayAudEvent(AudioEvent ev)

Parameters

ev AudioEvent

Returns

FVRPooledAudioSource

UpdateInteraction(FVRViveHand)

public override void UpdateInteraction(FVRViveHand hand)

Parameters

hand FVRViveHand