Select your preferred scripting language. All code snippets will be displayed in this language.
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseCreates a new MenuCommand object.
Context and userData will be initialized to inContext and inUserdata respectively.
Creates a new MenuCommand object.
Context will be initialized to inContext and userdata will be set to 0.