Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull from main #83

Merged
merged 9 commits into from
Oct 28, 2024
8 changes: 4 additions & 4 deletions crates/bevy_lunex/src/logic/states.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,17 +165,17 @@ fn set_ui_color<S: UiState>(query: Query<(&UiAnimator<S>, &UiColor<Base>, &UiCol

#[cfg(feature = "kira")]
#[derive(Resource)]
struct UiSoundChannel;
pub struct UiSoundChannel;

#[cfg(feature = "kira")]
#[derive(Component, Debug, Clone, PartialEq, Eq)]
pub struct OnHoverPlaySound {
pub sound: Handle<AudioSource>,
pub sound: Handle<bevy_kira_audio::AudioSource>,
}
#[cfg(feature = "kira")]
impl OnHoverPlaySound {
/// Specify the entity you want to create events for.
pub fn new(sound: Handle<AudioSource>) -> Self {
pub fn new(sound: Handle<bevy_kira_audio::AudioSource>) -> Self {
OnHoverPlaySound {
sound,
}
Expand Down Expand Up @@ -252,4 +252,4 @@ impl Plugin for DefaultStatesPlugin {
.add_systems(Update, hover_enter_system.run_if(on_event::<Pointer<Over>>()))
.add_systems(Update, hover_leave_system.run_if(on_event::<Pointer<Out>>()));
}
}
}
2 changes: 1 addition & 1 deletion examples/bevypunk.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
This example has it's own repository: https://github.com/IDEDARY/Calculator
This example has it's own repository: https://github.com/IDEDARY/Bevypunk
2 changes: 1 addition & 1 deletion examples/calculator.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
This example has it's own repository: https://github.com/IDEDARY/Bevypunk
This example has it's own repository: https://github.com/IDEDARY/Calculator