Skip to main content

write_component

Function write_component 

Source
fn write_component(
    scope: &Scope<'_>,
    entity: Entity,
    name: &str,
    value: &Value,
) -> Result<Value, String>
Available on crate feature mcp and non-WebAssembly only.
Expand description

Overwrite one component of one entity.