use bevy::prelude::*; use bevy_kira_audio::prelude::*; use std::time::Duration; /// This example shows the different settings that can be applied when playing a sound. fn main() { App::new() .add_plugins((DefaultPlugins, AudioPlugin)) .add_systems(Startup, play_audio) .run(); } /// Settings applied when playing a sound will overwrite the channel settings (like volume and panning) fn play_audio(asset_server: Res, audio: Res