ドキュメント

Unity Engine

Unity Engine

AddColumnHeaderContextMenuItems(GenericMenu)

Override this method to extend the default context menu items shown when context clicking the header area.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

protected virtual void AddColumnHeaderContextMenuItems(GenericMenu menu)

Parameters

Context menu shown.

Remarks

Call base.AddColumnHeaderContextMenuItems to add the default items. You can use MultiColumnHeader.currentColumnIndex to know which column was activated to open the contextual menu.