MenuCommand
Creates a new MenuCommand object.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Constructor
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
MenuCommand(Object, int)
Creates a new MenuCommand object.
public MenuCommand(Object inContext, int inUserData)
Parameters
Remarks
Context and userData will be initialized to inContext and inUserdata respectively.
MenuCommand(Object)
Creates a new MenuCommand object.
public MenuCommand(Object inContext)
Parameters
Remarks
Context will be initialized to inContext and userdata will be set to 0.