Invokers for ParticleBase events, called from events.
void PlayParticle(int particle_id=-1)
Method to tell the particle to start playing.
ParticleEvents GetEvents()
Get the events.
bool StopParticle(int flags=0)
Method to tell the particle to stop playing.
bool ResetParticle()
Method to tell the particle to reset.
bool RestartParticle()
Method to tell the particle to restart (reset + play)
void OnParticleParented(IEntity parent)
Event when the particle receives a parent.
bool PlayParticleEx(int particle_id=-1, int flags=0)
Method to tell the particle to start playing.
void OnParticleStart()
Event when the particle starts.
void OnParticleUnParented(IEntity parent)
Event when the particle is orphaned.
void OnParticleReset()
Event when the particle is restarted.
ref ParticleEvents m_EventInvokers
Event invokers.
void OnParticleEnd()
Event when the particle ends.
bool IsParticlePlaying()
Ask if the particle is still playing.
void OnParticleStop()
Event when the particle stops.