Version: Unity 6.5 Alpha (6000.5)
LanguageEnglish
  • C#

HierarchyGameObjectHandler

class in Unity.Hierarchy.Editor

/

Inherits from:Unity.Hierarchy.HierarchyNodeTypeHandler

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Provides a hierarchy node type handler for GameObject instances in a Hierarchy.HierarchyView.

Public Methods

Method Description
GetEntityId Gets the EntityId of the GameObject that corresponds to the specified Hierarchy.HierarchyNode.
GetGameObject Gets the GameObject that corresponds to the specified Hierarchy.HierarchyNode.
GetNodeType Gets the Hierarchy.HierarchyNodeType for this HierarchyGameObjectHandler.
GetOrCreateNode Gets or creates the Hierarchy.HierarchyNode that corresponds to the specified GameObjectEntityId.

Inherited Members

Properties

PropertyDescription
CommandList Get the Unity.Hierarchy.HierarchyCommandList associated with this handler.
Hierarchy Get the Unity.Hierarchy.Hierarchy owning this handler.

Public Methods

MethodDescription
Dispose Disposes this hierarchy node type handler to free up resources in the derived class.
GetDefaultNodeFlags Get the default value used to initialize a hierarchy node flags.
GetNodeHashCode Gets the hash code for the specified hierarchy node.
GetNodeTypeName Get the type name of this hierarchy node type handler.
SearchMatch Determines if a node matches the search query.

Protected Methods

MethodDescription
OnBindItem Called whenever a Unity.Hierarchy.HierarchyViewItem is bound to a Unity.Hierarchy.HierarchyView. Typically used to set up the item with the necessary data and styles.
OnBindView Called when the Unity.Hierarchy.HierarchyNodeTypeHandler is bound to a Unity.Hierarchy.HierarchyView.
OnUnbindItem Called whenever a Unity.Hierarchy.HierarchyViewItem is unbound from a Unity.Hierarchy.HierarchyView.
OnUnbindView Called when the Unity.Hierarchy.HierarchyNodeTypeHandler is unbound from a Unity.Hierarchy.HierarchyView.
Initialize Initializes this hierarchy node type handler.
SearchBegin Called when a new search query begins.
SearchEnd Called when a search query ends.
ViewModelPostUpdate Called after the HierarchyViewModel finishes being updated.