#SystemSet that runs between two ScheduleLabels (e.g. configure to run between Update and PostUpdate)

3 messages · Page 1 of 1 (latest)

hollow dirge
#

In 0.10 I had custom configuration for a couple system sets like so:

            .configure_set(
                InGameSet::A
                    .after(CoreSet::Update)
                    .before(CoreSet::PostUpdate)
                    .run_if(in_state_in_game),
            )
            .configure_set(
                InGameSet::B
                    .after(CoreSet::PostUpdate)
                    .before(CoreSet::Last)
                    .run_if(in_state_in_game),
            )

By doing this I had systems that ran between the core sets (e.g. all systems scheduled in base set A would run after Update and before PostUpdate). But now it seems like you have to schedule the set to in during another schedule. Is there any way I can achieve what I had before?

Without this capability, it would be much harder to guarantee some systems run after a whole host of other systems across various third-party libraries and systems internal to Bevy.

mortal grail
#

You may want to define custom schedules