Plays the sounds of actors that have an AudioSource component.
The system registers AudioAPI in world.systemApi. Use it to read and change the volume of audio groups. The global option audioGroups sets the groups and their start volume.
world.systemApi
audioGroups
Put AudioSystem after the systems that call AudioSource.play and AudioSource.stop. If behaviors play sounds, that includes BehaviorSystem.
AudioSystem
Audio
Static
The name the configuration uses for the system.
DefineSystem sets it, so a game usually does not assign it.
Plays the sounds of actors that have an AudioSource component.
The system registers AudioAPI in
world.systemApi. Use it to read and change the volume of audio groups. The global optionaudioGroupssets the groups and their start volume.Put
AudioSystemafter the systems that call AudioSource.play and AudioSource.stop. If behaviors play sounds, that includes BehaviorSystem.See
Audio