Skip to content

SubEmitterConfig.OnParticleSpawned Property

Definition

Namespace: Brine2D.Systems.Rendering

Optional callback invoked immediately after a sub-particle is spawned and added to the active list. Do not hold a reference to the particle beyond the callback.

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

Property Value

System.Action<Particle>