MenuCommand
Creates a new MenuCommand object.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Constructor
- Namespace: UnityEditor
- Assembly: UnityEditor
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.