Add on_in_stack_update to SystemSet (#1792)
This commit is contained in:
parent
d6bc414bf0
commit
b657a9b39f
@ -49,6 +49,13 @@ impl SystemSet {
|
|||||||
Self::new().with_run_criteria(State::<T>::on_inactive_update(s))
|
Self::new().with_run_criteria(State::<T>::on_inactive_update(s))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub fn on_in_stack_update<T>(s: T) -> SystemSet
|
||||||
|
where
|
||||||
|
T: Component + Debug + Clone + Eq + Hash,
|
||||||
|
{
|
||||||
|
Self::new().with_run_criteria(State::<T>::on_in_stack_update(s))
|
||||||
|
}
|
||||||
|
|
||||||
pub fn on_enter<T>(s: T) -> SystemSet
|
pub fn on_enter<T>(s: T) -> SystemSet
|
||||||
where
|
where
|
||||||
T: Component + Debug + Clone + Eq + Hash,
|
T: Component + Debug + Clone + Eq + Hash,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user