StaticsystemThe name the configuration uses for the system.
DefineSystem sets it, so a game usually does not assign it.
StaticwithLists the system in EngineOptions.systems together with its dependencies: classes and functions from the game code that cannot live in the configuration. The system receives them as the second argument of its constructor.
The dependencies of the system.
A binding to put into EngineOptions.systems.
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