Skip to main content

load_scene_in_project

Function load_scene_in_project 

Source
pub fn load_scene_in_project(
    pvfs: &mut ProjectVfs,
    world: &mut GameWorld,
    rel_path_fwd_slash: &str,
) -> bool
Expand description

Loads a scene by its relative path under <project>/assets/ via the project’s AssetService::load_raw. Falls back to a fresh reindex + retry once if the path isn’t yet known to the VFS (e.g. just-saved).