Third Person Cover Shooter
1.6
|
Spawns an effect upon a hit. More...
Public Member Functions | |
void | OnHit (Hit hit) |
Spawns the particle effect on hit position. More... | |
Public Attributes | |
GameObject | Bullet |
Effect to be instantiated on the point of bullet impact. More... | |
GameObject | Melee |
Effect to be instantiated on the point of melee impact. More... | |
float | DestroyAfter = 5 |
Time to wait before destroying an instantiated effect object. More... | |
Spawns an effect upon a hit.
Used mostly on static level geometry.
void CoverShooter.HitEffect.OnHit | ( | Hit | hit | ) |
Spawns the particle effect on hit position.
GameObject CoverShooter.HitEffect.Bullet |
Effect to be instantiated on the point of bullet impact.
float CoverShooter.HitEffect.DestroyAfter = 5 |
Time to wait before destroying an instantiated effect object.
GameObject CoverShooter.HitEffect.Melee |
Effect to be instantiated on the point of melee impact.