Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

EditorApplication.hierarchyWindowChanged

Switch to Manual
public static var hierarchyWindowChanged: EditorApplication.CallbackFunction;

Description

A callback to be raised when an object in the hierarchy changes.

Each time an object is (or a group of objects are) created, renamed, parented, unparented or destroyed this callback is raised.

See Also: EditorWindow.OnHierarchyChange.

no example available in JavaScript

Note: Changing the HideFlags on an object will also cause this callback to be called.