Third Person Cover Shooter  1.6
CoverShooter.HitEffect Class Reference

Spawns an effect upon a hit. More...

Inheritance diagram for CoverShooter.HitEffect:

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...
 

Detailed Description

Spawns an effect upon a hit.

Used mostly on static level geometry.

Member Function Documentation

◆ OnHit()

void CoverShooter.HitEffect.OnHit ( Hit  hit)

Spawns the particle effect on hit position.

Member Data Documentation

◆ Bullet

GameObject CoverShooter.HitEffect.Bullet

Effect to be instantiated on the point of bullet impact.

◆ DestroyAfter

float CoverShooter.HitEffect.DestroyAfter = 5

Time to wait before destroying an instantiated effect object.

◆ Melee

GameObject CoverShooter.HitEffect.Melee

Effect to be instantiated on the point of melee impact.


The documentation for this class was generated from the following file: