We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e3caa75 + e314de1 commit 9564d22Copy full SHA for 9564d22
src/spatial.rs
@@ -50,7 +50,7 @@ pub struct SpatialAudioEmitter {
50
///
51
/// Most likely you will want to add this component to your player or you camera.
52
/// There can only ever be one entity with this component at a given time!
53
-#[derive(Component)]
+#[derive(Component, Default)]
54
#[require(Transform)]
55
pub struct SpatialAudioReceiver;
56
0 commit comments