Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Moves minimal selected roots together, preserving descendants and recording only affected placements.

API: engine
Project: Inno.Editor.Scene

public void Inno.Editor.Scene.SceneEdits.MoveGameObjects(System.Collections.Generic.IReadOnlyList<Inno.Scene.GameObject> targets, Inno.Scene.GameScene destination, Inno.Scene.GameObject? parent = null, int insertionIndex = 2147483647)

Parameter targets: Selected live objects in their required relative order.

Parameter destination: The loaded editable destination scene.

Parameter parent: The new parent, or null for scene roots.

Parameter insertionIndex: The insertion index after removing the selected roots; the default appends them.

Exception T:System.InvalidOperationException: An owner is read-only, unavailable, or the move would form a cycle.

Exception T:System.ArgumentException: The parent belongs to a different scene.