mirror of
https://github.com/kristoferssolo/maze-ascension.git
synced 2025-10-21 19:20:34 +00:00
7 lines
240 B
Rust
7 lines
240 B
Rust
use bevy::prelude::*;
|
|
|
|
/// Event triggered on a UI entity when the [`Interaction`] component on the same entity changes to
|
|
/// [`Interaction::Pressed`]. Observe this event to detect e.g. button presses.
|
|
#[derive(Event)]
|
|
pub struct OnPress;
|