public class AcceleratorGunBehaviour
Inherits CanShoot
No description provided
Fields
public AudioSource LoopAudioSource
[SkipSerialisation]
No description provided
public AudioSource OneShotAudioSource
[SkipSerialisation]
No description provided
public AudioClip[] SingleShotSound
[SkipSerialisation]
No description provided
public AudioClip FullPowerShotSound
[SkipSerialisation]
No description provided
public AudioClip ChargeUpSound
[SkipSerialisation]
No description provided
public AudioClip FullPowerWaitingLoopSound
[SkipSerialisation]
No description provided
public AudioClip LowEnergyBoltLoopSound
[SkipSerialisation]
No description provided
public AudioClip HighEnergyBoltLoopSound
[SkipSerialisation]
No description provided
public Rigidbody2D Rigidbody
[SkipSerialisation]
No description provided
public PhysicalBehaviour PhysicalBehaviour
[SkipSerialisation]
No description provided
public GameObject ProjectilePrefab
[SkipSerialisation]
No description provided
public Vector2 LocalBarrelPosition
[SkipSerialisation]
No description provided
public Vector2 LocalBarrelDirection
[SkipSerialisation]
No description provided
public float RecoilIntensity
[SkipSerialisation]
No description provided
public ParticleSystem MuzzleflashSystem
[SkipSerialisation]
Reference to the muzzle flash particle system
public ParticleSystem ChargeUpParticleSystem
[SkipSerialisation]
Reference to the charge-up particle system
public float MaxChargeTime
The amount of seconds it takes to charge the gun
public float CurrentChargeProgress
Charge-up progress from 0.0 to 1.0
Properties
public override Vector2 BarrelPosition
No description provided
public Vector2 BarrelDirection
No description provided
Methods
public void ShootLowPower()
Fire at low power
public void ShootFullPower()
Fire at full power
public override void Shoot()
No description provided