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: scripting
Project: Inno.Editor.Scene
Scope: Editor
Declaration
Section titled “Declaration”public bool InnoEditor.Scene.SceneEdits.RemoveComponent(InnoEngine.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.