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

Parameters

item Item to rename.
delay Delay 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.