From 06bf0cf63b4c4043f62a5d4bfc5c170968479c37 Mon Sep 17 00:00:00 2001 From: BUGO07 Date: Wed, 11 Sep 2024 19:19:59 +0400 Subject: [PATCH] make UiSoundChannel public to make custom OnXPlaySound components --- crates/bevy_lunex/src/logic/states.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_lunex/src/logic/states.rs b/crates/bevy_lunex/src/logic/states.rs index f525493..e1ca457 100644 --- a/crates/bevy_lunex/src/logic/states.rs +++ b/crates/bevy_lunex/src/logic/states.rs @@ -165,7 +165,7 @@ fn set_ui_color(query: Query<(&UiAnimator, &UiColor, &UiCol #[cfg(feature = "kira")] #[derive(Resource)] -struct UiSoundChannel; +pub struct UiSoundChannel; #[cfg(feature = "kira")] #[derive(Component, Debug, Clone, PartialEq, Eq)]