Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Applies a mutation to one serializable scene property and records only its before and after values.

API: scripting
Project: Inno.Editor.Scene
Scope: Editor

public bool InnoEditor.Scene.SceneEdits.ChangeProperty(InnoEngine.Scene.EngineObject target, string propertyName, System.Action mutation, string historyName, string? mergeKey = null)

Parameter target: The live scene object containing the root serialized property.

Parameter propertyName: The exact root serialized member key.

Parameter mutation: The mutation that assigns the new value.

Parameter historyName: The user-facing history entry name.

Parameter mergeKey: An optional stable key for coalescing adjacent continuous edits.

true when the property value changed and a history entry was recorded.