Version: 2019.2
public bool BeginRename (IMGUI.Controls.TreeViewItem item);
public bool BeginRename (IMGUI.Controls.TreeViewItem item, float delay);

Parameters

itemItem to rename.
delayDelay in seconds until the rename overlay shows.

Returns

bool Returns true if renaming was started. Returns false if renaming was already active.

Description

Shows the rename overlay for a TreeViewItem.

This renames the TreeViewItem.displayName string.