Method | Description | |
---|---|---|
MenuItem ( string header, System.Action action = null, Func |
Default constructor
|
public MenuItem ( string header, System.Action action = null, Func |
||
header | string | Header text to use for the menu item |
action | System.Action | Action to perform when clicking the menu item, if any |
canClick | Func |
Function used to determine if the menu item can be clicked or not |
iconSrc | string | |
return | System |