Skip to content

AudioSourceComponent.TriggerPlay Property

Definition

Namespace: Brine2D.Systems.Audio

Set to true to play 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 TriggerPlay { get; set; }

Property Value

System.Boolean