Synced
SceneEdits.RemoveComponent
Section titled “SceneEdits.RemoveComponent”
- Removes the component from its scene owner and records a reversible serialized history change.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.Scene
Declaration
Section titled “Declaration”public bool Inno.Editor.Scene.SceneEdits.RemoveComponent(Inno.Scene.GameComponent component, string? historyName = null)Parameters
Section titled “Parameters”Parameter component: The attached non-Transform component to remove.
Parameter historyName: An optional user-facing history entry name.
Returns
Section titled “Returns”true when the component was removed and recorded.