Add on_in_stack_update to SystemSet (#1792)

This commit is contained in:
TheRawMeatball 2021-03-31 20:24:04 +00:00
parent d6bc414bf0
commit b657a9b39f

View File

@ -49,6 +49,13 @@ impl SystemSet {
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
where
T: Component + Debug + Clone + Eq + Hash,