class in UnityEngine.Experimental.UIElements
/
继承自:Experimental.UIElements.DropdownMenu.MenuItem
切换到手册菜单操作项目。
| eventInfo | Provides information on the event that triggered the drop-down menu. |
| name | The name of the item. The name can be prefixed by its submenu path. Path components are delimited by forward slashes ('/'). |
| status | 项目的状态。 |
| userData | The userData object stored by the constructor. |
| DropdownMenu.MenuAction | 构造函数。 |
| Execute | 执行与此项目关联的回调。 |
| UpdateActionStatus | 通过调用项目状态回调更新此项目的状态标志。 |
| AlwaysDisabled | 始终返回 StatusFlags.Disabled 的状态回调。 |
| AlwaysEnabled | 始终返回 StatusFlags.Enabled 的状态回调。 |