class in Unity.Hierarchy.Editor
/
Inherits from:Unity.Hierarchy.HierarchyNodeTypeHandler
Provides a HierarchyNodeTypeHandler for subscenes.
| Method | Description |
|---|---|
| GetEntityId | Gets the EntityId of the GameObject that represents the subscene for the specified HierarchyNode. |
| GetGameObject | Gets the GameObject that represents the subscene for the specified HierarchyNode. |
| GetNodeType | Gets the HierarchyNodeType registered for this HierarchySubSceneAuthoringHandler. |
| GetOrCreateNode | Gets or creates the HierarchyNode for the subscene with the specified EntityId. |
| GetScene | Gets the Scene associated with the subscene for the specified HierarchyNode. |
| Property | Description |
|---|---|
| CommandList | Get the HierarchyCommandList associated with this handler. |
| Hierarchy | Get the Hierarchy owning this handler. |
| Method | Description |
|---|---|
| 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. |
| GetEntityIdFromNode | Gets the EntityId corresponding to the given HierarchyNode. |
| GetEntityIdsFromNodes | Gets the EntityId corresponding to each HierarchyNode in . Slots already set to a non-EntityId.None value must be skipped. |
| GetNodeFromEntityId | Gets the HierarchyNode corresponding to the given EntityId. |
| GetNodeHashCode | Gets the hash code for the specified hierarchy node. |
| GetNodesFromEntityIds | Gets the HierarchyNode corresponding to each EntityId in . Slots already set to a non-null value must be skipped. |
| GetNodeTypeName | Get the type name of this hierarchy node type handler. |
| ReadUIDs | Restores nodes from the identifiers written by HierarchyNodeTypeHandlerBase.WriteUIDs. is pre-initialized to HierarchyNode.Null; write only slots that resolve to a live node. |
| SearchMatch | Determines if a node matches the search query. |
| Method | Description |
|---|---|
| OnBindItem | Called whenever a HierarchyViewItem is bound to a HierarchyView. Typically used to set up the item with the necessary data and styles. |
| OnBindView | Called when the HierarchyNodeTypeHandler is bound to a HierarchyView. |
| OnUnbindItem | Called whenever a HierarchyViewItem is unbound from a HierarchyView. |
| OnUnbindView | Called when the HierarchyNodeTypeHandler is unbound from a HierarchyView. |
| GetUIDInfo | Returns the UID serialization info for this handler. A HierarchyUIDInfo.Size of 0 means this handler does not support UID serialization and its nodes will be skipped. |
| Initialize | Initializes this hierarchy node type handler. |
| SearchBegin | Called when a new search query begins. |
| SearchEnd | Called when a search query ends. |
| UpdateBegin | Called when the hierarchy update begins. |
| UpdateEnd | Called when the hierarchy update ends. |
| ViewModelPostSetState | Called after the HierarchyViewModel finishes setting its state. |
| ViewModelPostUpdate | Called after the HierarchyViewModel finishes being updated. |
| WriteUIDs | Serializes stable identifiers for the given nodes into . The buffer is pre-zeroed; write only slots that have a valid identity. Unwritten slots are treated as unresolvable during restore. |