Version: 2017.2
protected Rect GetRenameRect (Rect rowRect, int row, IMGUI.Controls.TreeViewItem item);

파라미터

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.

반환

Rect The rect where the rename overlay should appear.

설명

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.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961