DoopelPonger
|
Small shock wave effect that is spawned when a player fires a bullet. More...
Public Member Functions | |
void | Awake () |
void | Init () |
void | FixedUpdate () |
Public Attributes | |
float | growthRate |
float | maxSize |
Material | material |
Small shock wave effect that is spawned when a player fires a bullet.
void Shockwave.Awake | ( | ) |
Initialize references.
void Shockwave.FixedUpdate | ( | ) |
Grow the shockwave, if the size is at the max, put this back inside the object pooler.
void Shockwave.Init | ( | ) |
Initialize the values needed to start the shockwave.
float Shockwave.growthRate |
How fast the shockwave should grow.
Material Shockwave.material |
The shader that applies the shockwave effect.
float Shockwave.maxSize |
The max size the shockwave should get.