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

HierarchySceneHandler

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

The hierarchy node type handler for scenes.

Public Methods

Method Description
GetNodeType Retrieves the hierarchy node type for this hierarchy node type handler.
GetOrCreateNode Gets or creates the hierarchy node corresponding to the given scene.
GetScene Gets the scene corresponding to the given hierarchy node.

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 hierarchy view item is bound to a hierarchy view. Typically used to set up the item with the necessary data and styles.
OnBindView Called when the hierarchy node type handler is bound to a hierarchy view. Typically used to add stylesheets or classes to the Unity.Hierarchy.HierarchyView.StyleContainer.
OnUnbindItem Called whenever a hierarchy view item is unbound from a hierarchy view.
OnUnbindView Called when the hierarchy node type handler is unbound from a hierarchy view.
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.