DoopelPonger
Public Member Functions | Public Attributes | List of all members
CoopLaserHitParticle Class Reference

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

Inheritance diagram for CoopLaserHitParticle:
Inheritance graph
[legend]
Collaboration diagram for CoopLaserHitParticle:
Collaboration graph
[legend]

Public Member Functions

void Awake ()
 Initialize references. More...
 
void PlayParticle (Vector3 spawnPosition)
 Play the particle system at spawnPosition. More...
 

Public Attributes

ParticleSystem particles
 
float waitTime
 

Detailed Description

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.

Member Function Documentation

◆ Awake()

void CoopLaserHitParticle.Awake ( )

Initialize references.

◆ PlayParticle()

void CoopLaserHitParticle.PlayParticle ( Vector3  spawnPosition)

Play the particle system at spawnPosition.

Parameters
spawnPositionThe location the particle system should be moved to.

Member Data Documentation

◆ 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: