Constructor MenuEntryAttribute
MenuEntryAttribute(string, int)
Constructor for Menu Entry Attribute to define information about the menu item for an action.
선언
public MenuEntryAttribute(string path = null, int priority = 9000)
파라미터
타입 | 이름 | 설명 |
---|---|---|
string | path | Path to the menu. If there is a "/" in the path, it will create one (or multiple) submenu items. |
int | priority | Priority to decide where the menu will be positioned in the menu. The lower the priority, the higher the menu item will be in the context menu. |