Skip to content

ParticleEmitterComponent.OnEmitterFinished Property

Definition

Namespace: Brine2D.Systems.Rendering

Optional callback invoked once by ParticleSystem when the emitter finishes: either when a burst emitter's last particle expires \(and [Loop](Loop.md 'Brine2D\.Systems\.Rendering\.ParticleEmitterComponent\.Loop') is false\), or when a Duration-limited continuous emitter's last particle expires after emission has stopped \(and [Loop](Loop.md 'Brine2D\.Systems\.Rendering\.ParticleEmitterComponent\.Loop') is false\). Not invoked by Stop() or ResetToDefaultState().

C#
public System.Action? OnEmitterFinished { get; set; }

Property Value

System.Action