Third Person Cover Shooter
1.6
|
Spawns effects prefabs on various gun events like reloads or gunfire. More...
Public Member Functions | |
void | OnEject () |
Play magazine eject effect. More... | |
void | OnRechamber () |
Play magazine load effect. More... | |
void | OnPump () |
Play shotgun pump effect. More... | |
void | OnFire (float delay) |
Play fire effects delayed by the given amount of time in seconds. More... | |
void | OnEmptyFire () |
Play an effect when the gun fails to fire. 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 | |
GameObject | Eject |
Object to instantiate when ejecting a magazine. More... | |
GameObject | Rechamber |
Object to instantiate when a magazine is put inside the gun. More... | |
GameObject | Fire |
Object to instantiate on each bullet fire. More... | |
GameObject | Pump |
Object to instantiate on each shotgun pump. More... | |
GameObject | EmptyFire |
Object to instantiate on each fire attempt with an empty magazine. More... | |
GameObject | Shell |
Object to instantiate to simulate shell ejection. More... | |
Spawns effects prefabs on various gun events like reloads or gunfire.
void CoverShooter.GunEffects.OnBulletLoad | ( | ) |
Bullet load event.
Implements CoverShooter.IGunListener.
void CoverShooter.GunEffects.OnBulletLoadStart | ( | ) |
Event spawned when bullet loading starts.
Implements CoverShooter.IGunListener.
void CoverShooter.GunEffects.OnEject | ( | ) |
Play magazine eject effect.
Implements CoverShooter.IGunListener.
void CoverShooter.GunEffects.OnEmptyFire | ( | ) |
Play an effect when the gun fails to fire.
Implements CoverShooter.IGunListener.
void CoverShooter.GunEffects.OnFire | ( | float | delay | ) |
Play fire effects delayed by the given amount of time in seconds.
delay | Time to delay the creation of effects. |
Implements CoverShooter.IGunListener.
void CoverShooter.GunEffects.OnFullyLoaded | ( | ) |
Event spawned all the bullets are loaded.
Implements CoverShooter.IGunListener.
void CoverShooter.GunEffects.OnMagazineLoadStart | ( | ) |
Event spawned when magazine loading starts.
Implements CoverShooter.IGunListener.
void CoverShooter.GunEffects.OnPump | ( | ) |
Play shotgun pump effect.
Implements CoverShooter.IGunListener.
void CoverShooter.GunEffects.OnPumpStart | ( | ) |
Event spawned before pumping.
Implements CoverShooter.IGunListener.
void CoverShooter.GunEffects.OnRechamber | ( | ) |
Play magazine load effect.
Implements CoverShooter.IGunListener.
GameObject CoverShooter.GunEffects.Eject |
Object to instantiate when ejecting a magazine.
GameObject CoverShooter.GunEffects.EmptyFire |
Object to instantiate on each fire attempt with an empty magazine.
GameObject CoverShooter.GunEffects.Fire |
Object to instantiate on each bullet fire.
GameObject CoverShooter.GunEffects.Pump |
Object to instantiate on each shotgun pump.
GameObject CoverShooter.GunEffects.Rechamber |
Object to instantiate when a magazine is put inside the gun.
GameObject CoverShooter.GunEffects.Shell |
Object to instantiate to simulate shell ejection.