Experimental: this API is experimental and might be changed or removed in the future.

DropdownMenu.InsertSeparator

切换到手册
public void InsertSeparator (string subMenuPath, int atIndex);

参数

atIndex应插入分隔线的索引。
subMenuPathThe submenu path where the separator is added. Path components are delimited by forward slashes ('/').

描述

在菜单中添加一条分隔线。分隔线添加在列表中指定索引末尾。

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