Class FlintlockBarrel
- Namespace
- FistVR
- Assembly
- Assembly-CSharp.dll
public class FlintlockBarrel : MonoBehaviour
- Inheritance
-
FlintlockBarrel
Constructors
FlintlockBarrel()
Fields
AudEvent_InsertByType
public List<AudioEvent> AudEvent_InsertByType
Field Value
- List<AudioEvent>
AudEvent_Squib
public AudioEvent AudEvent_Squib
Field Value
- AudioEvent
AudEvent_Tamp
public AudioEvent AudEvent_Tamp
Field Value
- AudioEvent
AudEvent_TampEnd
public AudioEvent AudEvent_TampEnd
Field Value
- AudioEvent
BarrelLength
public float BarrelLength
Field Value
- float
DefaultMuzzleEffectSize
public MuzzleEffectSize DefaultMuzzleEffectSize
Field Value
- MuzzleEffectSize
EjectedObjectPrefabs
public List<GameObject> EjectedObjectPrefabs
Field Value
- List<GameObject>
FlashBlastFireRange
public Vector2 FlashBlastFireRange
Field Value
- Vector2
FlashBlastSmokeRange
public Vector2 FlashBlastSmokeRange
Field Value
- Vector2
IgniteProjectile_NotVisible
public GameObject IgniteProjectile_NotVisible
Field Value
- GameObject
IgniteProjectile_Visible
public GameObject IgniteProjectile_Visible
Field Value
- GameObject
LoadedElementSizes
public Vector4 LoadedElementSizes
Field Value
- Vector4
LoadedElements
public List<FlintlockBarrel.LoadedElement> LoadedElements
Field Value
- List<FlintlockBarrel.LoadedElement>
LodgePoint_Paper
public Transform LodgePoint_Paper
Field Value
- Transform
LodgePoint_Shot
public Transform LodgePoint_Shot
Field Value
- Transform
Muzzle
Field Value
- Transform
MuzzleEffects
public MuzzleEffect[] MuzzleEffects
Field Value
- MuzzleEffect[]
MuzzleOverFireSystem
public ParticleSystem MuzzleOverFireSystem
Field Value
- ParticleSystem
MuzzleOverFireSystemEmitRange
public Vector2 MuzzleOverFireSystemEmitRange
Field Value
- Vector2
MuzzleOverFireSystemScaleRange
public Vector2 MuzzleOverFireSystemScaleRange
Field Value
- Vector2
PowderToVelMultCurve
public AnimationCurve PowderToVelMultCurve
Field Value
- AnimationCurve
ProjectilePrefab
public GameObject ProjectilePrefab
Field Value
- GameObject
ProxyPowder0
public MeshFilter ProxyPowder0
Field Value
- MeshFilter
ProxyPowder1
public MeshFilter ProxyPowder1
Field Value
- MeshFilter
ProxyPowderPiles
public List<Mesh> ProxyPowderPiles
Field Value
- List<Mesh>
ProxyRends0
public List<Renderer> ProxyRends0
Field Value
- List<Renderer>
ProxyRends1
public List<Renderer> ProxyRends1
Field Value
- List<Renderer>
Spread
Field Value
- float
VelocityMult
public float VelocityMult
Field Value
- float
Methods
BurnOffOuter()
public void BurnOffOuter()
FireMuzzleSmoke()
public void FireMuzzleSmoke()
GetLengthOfElement(LoadedElementType, int)
public float GetLengthOfElement(FlintlockBarrel.LoadedElementType Type, int PowderAmount)
Parameters
Type
FlintlockBarrel.LoadedElementType
PowderAmount
int
Returns
- float
GetMaxDepth()
public float GetMaxDepth()
Returns
- float
GetWeapon()
public FlintlockWeapon GetWeapon()
Returns
- FlintlockWeapon
Ignite()
OnTriggerEnter(Collider)
public void OnTriggerEnter(Collider other)
Parameters
other
Collider
SetPan(FlintlockFlashPan)
public void SetPan(FlintlockFlashPan p)
Parameters
p
FlintlockFlashPan
SetWeapon(FlintlockWeapon)
public void SetWeapon(FlintlockWeapon w)
Parameters
w
FlintlockWeapon
Tamp(float, float)
public void Tamp(float delta, float depth)
Parameters
delta
float
depth
float