MenuCommand Constructor
Description 描述
Creates a new MenuCommand object.
Context and userData will be initialized to inContext and inUserdata respectively.
Description 描述
Creates a new MenuCommand object.
Context will be initialized to inContext and userdata will be set to 0.