C# Class UnityEditor.MenuCommand

Show file Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Properties

Property Type Description
context Object
userData int

Public Methods

Method Description
MenuCommand ( Object inContext ) : System

Creates a new MenuCommand object.

MenuCommand ( Object inContext, int inUserData ) : System

Creates a new MenuCommand object.

Method Details

MenuCommand() public method

Creates a new MenuCommand object.

public MenuCommand ( Object inContext ) : System
inContext Object
return System

MenuCommand() public method

Creates a new MenuCommand object.

public MenuCommand ( Object inContext, int inUserData ) : System
inContext Object
inUserData int
return System

Property Details

context public property

Context is the object that is the target of a menu command.

public Object context
return Object

userData public property

An integer for passing custom information to a menu item.

public int userData
return int