Skip to main content

draw_scene_group

Function draw_scene_group 

Source
fn draw_scene_group(
    ui: &mut Ui,
    project: &Project,
    current_scene: &Path,
    renaming_scene: &mut Option<PathBuf>,
    scene_rename_buffer: &mut String,
    requests: &mut UiRequests,
)
Expand description

Mirrors draw_script_group’s shape: a project can hold several scene .ron files (see Project::list_scenes), listed here with a way to create new ones from scratch (a scene, like a script, has nothing to import from outside the project) and switch which one is currently open for editing.