Third Person Cover Shooter
1.6
|
Generates randomised sounds on various gun events. More...
Public Member Functions | |
void | OnPump () |
Play pump sound. More... | |
void | OnEject () |
Play magazine eject sound. More... | |
void | OnRechamber () |
Play magazine load sound. More... | |
void | OnFire (float delay) |
Play fire sound delayed by the given amount of time in seconds. More... | |
void | OnEmptyFire () |
Play empty magazine sounds. More... | |
void | OnFullyLoaded () |
Event spawned all the bullets are loaded. More... | |
void | OnBulletLoad () |
Bullet load event. More... | |
void | OnPumpStart () |
Event spawned before pumping. More... | |
void | OnMagazineLoadStart () |
Event spawned when magazine loading starts. More... | |
void | OnBulletLoadStart () |
Event spawned when bullet loading starts. More... | |
Public Attributes | |
AudioClip [] | Eject |
Sound to play when ejecting a magazine. More... | |
AudioClip [] | Rechamber |
Sound to play when a magazine is put inside the gun. More... | |
AudioClip [] | Pump |
Possible sounds to play when pumping a shotgun. More... | |
AudioClip [] | Fire |
Possible sounds to play on each bullet fire. More... | |
AudioClip [] | EmptyFire |
Possible sounds to play on each fire attempt on empty magazine. More... | |
Generates randomised sounds on various gun events.
void CoverShooter.GunSounds.OnBulletLoad | ( | ) |
Bullet load event.
Implements CoverShooter.IGunListener.
void CoverShooter.GunSounds.OnBulletLoadStart | ( | ) |
Event spawned when bullet loading starts.
Implements CoverShooter.IGunListener.
void CoverShooter.GunSounds.OnEject | ( | ) |
Play magazine eject sound.
Implements CoverShooter.IGunListener.
void CoverShooter.GunSounds.OnEmptyFire | ( | ) |
Play empty magazine sounds.
Implements CoverShooter.IGunListener.
void CoverShooter.GunSounds.OnFire | ( | float | delay | ) |
Play fire sound delayed by the given amount of time in seconds.
delay | Time to delay the creation of sound. |
Implements CoverShooter.IGunListener.
void CoverShooter.GunSounds.OnFullyLoaded | ( | ) |
Event spawned all the bullets are loaded.
Implements CoverShooter.IGunListener.
void CoverShooter.GunSounds.OnMagazineLoadStart | ( | ) |
Event spawned when magazine loading starts.
Implements CoverShooter.IGunListener.
void CoverShooter.GunSounds.OnPump | ( | ) |
Play pump sound.
Implements CoverShooter.IGunListener.
void CoverShooter.GunSounds.OnPumpStart | ( | ) |
Event spawned before pumping.
Implements CoverShooter.IGunListener.
void CoverShooter.GunSounds.OnRechamber | ( | ) |
Play magazine load sound.
Implements CoverShooter.IGunListener.
AudioClip [] CoverShooter.GunSounds.Eject |
Sound to play when ejecting a magazine.
AudioClip [] CoverShooter.GunSounds.EmptyFire |
Possible sounds to play on each fire attempt on empty magazine.
AudioClip [] CoverShooter.GunSounds.Fire |
Possible sounds to play on each bullet fire.
AudioClip [] CoverShooter.GunSounds.Pump |
Possible sounds to play when pumping a shotgun.
AudioClip [] CoverShooter.GunSounds.Rechamber |
Sound to play when a magazine is put inside the gun.