Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Creates a GameObject, optionally parents it, and records only the new subtree state.

API: engine
Project: Inno.Editor.Scene

public Inno.Scene.GameObject Inno.Editor.Scene.SceneEdits.CreateGameObject(Inno.Scene.GameScene scene, Inno.Scene.Components.Transform? parent = null, string historyName = "Create GameObject")

Parameter scene: The loaded scene that will own the object.

Parameter parent: The optional parent transform.

Parameter historyName: The user-facing history entry name.

The newly created GameObject.