프로퍼티 | 타입 | 설명 | |
---|---|---|---|
menuItem | string | ||
priority | int | ||
validate | bool |
메소드 | 설명 | |
---|---|---|
MenuItem ( string itemName ) : System |
Creates a menu item and invokes the static function following it, when the menu item is selected.
|
|
MenuItem ( string itemName, bool isValidateFunction ) : System |
Creates a menu item and invokes the static function following it, when the menu item is selected.
|
|
MenuItem ( string itemName, bool isValidateFunction, int priority ) : System |
Creates a menu item and invokes the static function following it, when the menu item is selected.
|
메소드 | 설명 | |
---|---|---|
MenuItem ( string itemName, bool isValidateFunction, int priority, bool internalMenu ) : System |
public MenuItem ( string itemName ) : System | ||
itemName | string | The itemName is the menu item represented like a pathname. /// For example the menu item could be "GameObject/Do Something". |
리턴 | System |
public MenuItem ( string itemName, bool isValidateFunction ) : System | ||
itemName | string | The itemName is the menu item represented like a pathname. /// For example the menu item could be "GameObject/Do Something". |
isValidateFunction | bool | If isValidateFunction is true, this is a validation /// function and will be called before invoking the menu function with the same itemName. |
리턴 | System |
public MenuItem ( string itemName, bool isValidateFunction, int priority ) : System | ||
itemName | string | The itemName is the menu item represented like a pathname. /// For example the menu item could be "GameObject/Do Something". |
isValidateFunction | bool | If isValidateFunction is true, this is a validation /// function and will be called before invoking the menu function with the same itemName. |
priority | int | The order by which the menu items are displayed. |
리턴 | System |