Class Suppressor
- Namespace
- FistVR
- Assembly
- Assembly-CSharp.dll
public class Suppressor : MuzzleDevice
- Inheritance
-
Suppressor
- Derived
- Inherited Members
Constructors
Suppressor()
public Suppressor()
Fields
AudClipsScrewOnOff
public AudioClip[] AudClipsScrewOnOff
Field Value
- AudioClip[]
AudSourceScrewOnOff
public AudioSource AudSourceScrewOnOff
Field Value
- AudioSource
CatchRot
public float CatchRot
Field Value
IsIntegrate
public bool IsIntegrate
Field Value
Methods
AttachToMount(FVRFireArmAttachmentMount, bool)
public override void AttachToMount(FVRFireArmAttachmentMount m, bool playSound)
Parameters
m
FVRFireArmAttachmentMountplaySound
bool
AutoMountWell()
public void AutoMountWell()
BeginInteraction(FVRViveHand)
public override void BeginInteraction(FVRViveHand hand)
Parameters
hand
FVRViveHand
CatchRotDeltaAdd(float)
public void CatchRotDeltaAdd(float f)
Parameters
f
float
FVRFixedUpdate()
protected override void FVRFixedUpdate()
FVRUpdate()
protected override void FVRUpdate()
GetPosTarget()
protected override Vector3 GetPosTarget()
Returns
- Vector3
GetRotTarget()
protected override Quaternion GetRotTarget()
Returns
- Quaternion
SetSnapping(bool)
protected override void SetSnapping(bool b)
Parameters
b
bool
ShotEffect()
public virtual void ShotEffect()
UpdateSnappingBasedOnDistance()
protected override void UpdateSnappingBasedOnDistance()