pub fn register_script_components(reg: &mut ComponentRegistry)Expand description
Registers the scripting layer’s serializable scene components (currently
Script) into a scene ComponentRegistry.
Call this from the layer that wires both scenes and scripting together (the
app / editor / facade) so that gizmo-scene itself stays free of any
dependency on gizmo-scripting. Without this call a scene round-trips fine,
it simply won’t (de)serialize Script components.