Function bevy_state::state::setup_state_transitions_in_world

source ·
pub fn setup_state_transitions_in_world(
    world: &mut World,
    startup_label: Option<InternedScheduleLabel>
)
Expand description

Sets up the schedules and systems for handling state transitions within a World.

Runs automatically when using App to insert states, but needs to be added manually in other situations.