Add a generic hover system #93

Merged
raphael merged 4 commits from hover-system into main 2024-03-31 22:18:42 +00:00
Showing only changes of commit c081e36933 - Show all commits

View file

@ -21,7 +21,7 @@ struct HoveredTexture {
hovered_texture: Handle<Image>,
}
/// The system that applies the great texture to the hovered entity.
/// The system that applies the hover logic by changing the texture.
fn hovering(
mut interaction_query: Query<
(&Interaction, &HoveredTexture, &mut UiImage),