Version: 2017.2

TreeView.GetRenameRect

Cambiar al Manual
protected Rect GetRenameRect (Rect rowRect, int row, IMGUI.Controls.TreeViewItem item);

Parámetros

rowRect Row rect for the item currently being renamed.
row Row index for the item currently being renamed.
item TreeViewItem that are currently being renamed.

Valor de retorno

Rect The rect where the rename overlay should appear.

Descripción

Override this method if custom GUI handling are used in RowGUI. This method for controls where the rename overlay appears.

By default the rename overlay matches the placement of the item's displayName text being rendered.