Synced
SceneEdits.SetGameObjectTag
Section titled “SceneEdits.SetGameObjectTag”
- Changes the tag of a live GameObject and records the two ordinal tag strings.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.Scene
Scope: Editor
Declaration
Section titled “Declaration”public void InnoEditor.Scene.SceneEdits.SetGameObjectTag(InnoEngine.Scene.GameObject gameObject, string tag, string historyName = "Set GameObject Tag")Parameters
Section titled “Parameters”Parameter gameObject: The live GameObject whose tag should change.
Parameter tag: The requested non-empty tag.
Parameter historyName: The user-facing history entry name.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: Thrown when gameObject is null.
Exception T:System.ArgumentException: Thrown when tag or historyName is empty.