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

HierarchyViewColumnDescriptor

class in Unity.Hierarchy

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

Column Descriptor used to register a new Column in the Hierarchy and to control display and customization of this column.

Properties

Property Description
BindColumn Callback triggered when the column is built and shown in the View.
BindHeader Callback allowing the user to bind a custom header.
DefaultPriority Priority used to sort column order. Priority of 0 corresponds to the Hierarchy Name column. Negative priority will put the column the the left of the Name column. Positive priority will put the column to the right of the Name default column.
DefaultVisibility Define if the column should initially be visible.
DefaultWidth Default Width when first instantiating the column. If negative the columns will be assigned an arbitrary width.
DestroyHeader Callback triggered when the header is about to be destroyed.
Icon Icon displayed in the header of the column.
Id Column Id. HierarchyViewCellDescriptor will use this Id to register themselves with the Column.
MakeHeader Callback allowing the user to create a custom header. If callback is null, default header will be used to display both the icon and text of the Name field.
Title Display name of the Column. If null the header will be empty (unless it contains an icon).
Tooltip Tooltip shown when the user hover the header of this column.
UnbindColumn Callback triggered when the column is about to be destroyed.
UnbindHeader Callback triggered when the header is about to be destroyed.
UserData User data

Constructors

Constructor Description
HierarchyViewColumnDescriptor Create a new Column Descriptor.