Struct AudioSourceStop
Attach this component to an entity with an AudioSource component to stop playback the next time the AudioSystem updates.
Namespace: Unity.Tiny.Audio
Syntax
public struct AudioSourceStop : IComponentData
Remarks
Once playback stops, the AudioSystem removes this component. Attaching an AudioSourceStop component to an already stopped source has no effect. To start playing a source, use the AudioSourceStart component.