generated from tipragot/rust
Add a generic hover system #93
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue