Skip to main content

save_scene_dispatch_with_goal

Function save_scene_dispatch_with_goal 

Source
pub fn save_scene_dispatch_with_goal(
    project_vfs: Option<&Arc<Mutex<ProjectVfs>>>,
    world: &GameWorld,
    path_str: &str,
    goal: SerializationGoal,
) -> bool
Expand description

Same as save_scene_dispatch but with an explicit serialization goal. Used by “Export Scene as RON” (HumanReadableDebug) and any future Save-As strategy picker.