Skip to main content

mount_selector

Function mount_selector 

Source
pub(crate) fn mount_selector(
    world: &mut World,
    ui: Entity,
    switch: Entity,
    current: &'static SceneDef,
    initial: Option<Rect>,
)
Expand description

Mount the windowed shell’s scene-selector panel.

The panel lists every scene and writes its choice into the SceneSwitch component, which the frame loop reads once after the frame’s advance.