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 61aef28296 - Show all commits

View file

@ -11,7 +11,7 @@ impl Plugin for HoverPlugin {
} }
} }
/// A component that stores the hover textures and the original texture. /// A component that stores the hover texture and the original texture.
#[derive(Component, Clone)] #[derive(Component, Clone)]
struct HoveredTexture { struct HoveredTexture {
/// The original texture. /// The original texture.