# HierarchyViewCellDescriptorAttribute(string, Type)

> Creates a new HierarchyViewCellDescriptorAttribute.

## Definition

* **Type:** Constructor
* **Namespace:** [Unity.Hierarchy.Editor](/engine/6000.7/script-reference/unity/hierarchy/editor.md)
* **Assembly:** UnityEditor

```csharp
public HierarchyViewCellDescriptorAttribute(string columnHint, Type handler = null)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The column identifier or column header title to register the cell descriptor to.**** (\[Type]\(https\://learn.microsoft.com/dotnet/api/system.type)): The [HierarchyNodeTypeHandler](/engine/6000.7/script-reference/unity/hierarchy/hierarchynodetypehandler.md) type used to manage the nodes for this cell. If null, the cell manipulates [HierarchyNode](/engine/6000.7/script-reference/unity/hierarchy/hierarchynode.md) instances directly.
