Play the particle system specific for the player laser when it raycast hits an object. This class doesn't need to exist and should be replaced with CoopBallHitParticle.
More...
Play the particle system specific for the player laser when it raycast hits an object. This class doesn't need to exist and should be replaced with CoopBallHitParticle.
◆ Awake()
void CoopLaserHitParticle.Awake |
( |
| ) |
|
◆ PlayParticle()
void CoopLaserHitParticle.PlayParticle |
( |
Vector3 |
spawnPosition | ) |
|
Play the particle system at spawnPosition.
- Parameters
-
spawnPosition | The location the particle system should be moved to. |
◆ particles
ParticleSystem CoopLaserHitParticle.particles |
ParticleSystem that should be played.
◆ waitTime
float CoopLaserHitParticle.waitTime |
The amount of time to wait before returning this object to the object pooler for future use.
The documentation for this class was generated from the following file: