Skip to content

AudioSourceComponent.TriggerStop Property

Definition

Namespace: Brine2D.Systems.Audio

Set to true to stop the attached sound/music on the next frame. Consumed and reset to false by AudioSystem each update. If both TriggerPlay and TriggerStop are set, both are cleared and no action is taken.

public bool TriggerStop { get; set; }

Property Value

System.Boolean