CwlContextMenu
โ
Qol attribute to register a method to system context menu.
cs
[CwlContextMenu("LangGeneral_ID_or_SubmenuA/SubmenuB/ButtonC")]
private static void MyTestMethod()
{
// ...
}
When using a LangGeneral
entry to localize the button, use the English slash /
as the submenu separator.
If the registered method has a return value, it will be displayed on the screen as a string.