Skip to content

Commit

Permalink
Remove unused import
Browse files Browse the repository at this point in the history
  • Loading branch information
rparrett committed Jan 14, 2024
1 parent 24b0051 commit cb4de15
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions examples/audio/spatial_audio_2d.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
//! This example illustrates how to load and play an audio file, and control where the sounds seems to come from.
use bevy::{
audio::{AudioPlugin, SpatialScale},
prelude::*,
sprite::MaterialMesh2dBundle,
};
use bevy::{audio::SpatialScale, prelude::*, sprite::MaterialMesh2dBundle};

/// Spatial audio uses the distance to attenuate the sound volume. In 2D with the default camera,
/// 1 pixel is 1 unit of distance, so we use a scale so that 100 pixels is 1 unit of distance for
Expand Down

0 comments on commit cb4de15

Please sign in to comment.