-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Something like
props.observe("alertness", on_set_alertness);
fn on_set_alertness(change: On<MutateProp>) {
...
}
#[derive(EntityEvent)]
struct MutateProp {
/// Entity holding the [`Props`]
#[event_target]
entity: Entity,
key: Ustr,
old_value: Value,
new_value: Value,
}whether props.get("alertness") should trigger this when such a call initializes the value or reinitializes it to another data type I do not know. Maybe?
Metadata
Metadata
Assignees
Labels
No labels