HierarchyViewCellDescriptorAttribute
Specifies that a method creates a HierarchyViewCellDescriptor for a specific HierarchyViewColumn.
Read time 3 minutesLast updated 12 days ago
Definition
- Type: Class
- Namespace: Unity.Hierarchy.Editor
- Assembly: UnityEditor
- Inherits from: Attribute
[AttributeUsage(AttributeTargets.Method)]public sealed class HierarchyViewCellDescriptorAttribute : Attribute
Constructors
Constructor | Description |
|---|---|
| HierarchyViewCellDescriptorAttribute(System.String,System.Type) | Creates a new HierarchyViewCellDescriptorAttribute. |
Properties
Property | Description |
|---|---|
| ColumnHint | The column identifier or column header title to register this cell to. |
| Handler | Gets the HierarchyNodeTypeHandler type used to manage the nodes for this cell. Only one cell descriptor per handler type can be registered in a column. |
Static Methods
Method | Description |
|---|---|
| CustomizeDescriptor | Defines the required signature for methods decorated with HierarchyViewCellDescriptorAttribute. Implement this method to populate the HierarchyViewCellDescriptor. |