Skip to main content

add

Function add 

Source
pub fn add(
    name: Option<&str>,
    target: &str,
    template: Option<&str>,
) -> Result<()>
Expand description

Create an asset from target and apply it to the discovered world.

Tries worlds/ first, then world.jsonl in the working directory; when neither exists and the target is a 3D scene, the world is scaffolded at the fallback location.