Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Adds one component and records its identity, stable type, index, and persistent properties.

API: engine
Project: Inno.Editor.Scene

public Inno.Scene.GameComponent Inno.Editor.Scene.SceneEdits.AddComponent(Inno.Scene.GameObject owner, System.Type componentType, string? historyName = null)

Parameter owner: The live GameObject receiving the component.

Parameter componentType: The concrete component type to create.

Parameter historyName: An optional user-facing history entry name.

The newly attached component.