Synced
SceneEdits.SetGameObjectActive
Section titled “SceneEdits.SetGameObjectActive”
- Changes the explicit active state of a GameObject and records the two Boolean values.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.Scene
Declaration
Section titled “Declaration”public void Inno.Editor.Scene.SceneEdits.SetGameObjectActive(Inno.Scene.GameObject gameObject, bool active, string? historyName = null)Parameters
Section titled “Parameters”Parameter gameObject: The live GameObject whose active state should change.
Parameter active: The requested explicit active state.
Parameter historyName: An optional user-facing history entry name.