Skip to content

SubEmitterConfig.OnParticleDied Property

Definition

Namespace: Brine2D.Systems.Rendering

Optional callback invoked when a sub-particle expires naturally. The particle is passed with its final state and is returned to the pool immediately after the callback returns. Do not hold a reference to the particle.

C#
public System.Action<Brine2D.Systems.Rendering.Particle>? OnParticleDied { get; set; }

Property Value

System.Action<Particle>