|
Enfusion Script API
|
Attribute for Workbench plugin definition: More...
Public Member Functions | |
| void | WorkbenchPluginAttribute (string name, string description="", string shortcut="", string icon="", array< string > wbModules=null, string category="", int awesomeFontCode=0, array< string > resourceTypes=null) |
Public Attributes | |
| string | m_Name |
| string | m_Icon |
| string | m_Shortcut |
| string | m_Description |
| string | m_Category |
| int | m_AwesomeFontCode |
| ref array< string > | m_WBModules |
| https://fontawesome.com/cheatsheet/ | |
| ref array< string > | m_ResourceTypes |
Attribute for Workbench plugin definition:
name - ui name in Script Tools menudescription - tooltipshortcut - shortcut in simple text form e.g. "ctrl+g"icon - relative path to icon file (32x32 png)wbModules - list of strings representing Workbench modules where this tool should be avalaible (e.g. {"ResourceManager", "ScriptEditor"}). Leave null or empty array for any module.resourceTypes - list of resource types to offer this plugin in context menu (e.g. {"conf", "dds", "layout"}) | void WorkbenchPluginAttribute.WorkbenchPluginAttribute | ( | string | name, |
| string | description = "", | ||
| string | shortcut = "", | ||
| string | icon = "", | ||
| array< string > | wbModules = null, | ||
| string | category = "", | ||
| int | awesomeFontCode = 0, | ||
| array< string > | resourceTypes = null ) |
| int WorkbenchPluginAttribute.m_AwesomeFontCode |
| string WorkbenchPluginAttribute.m_Category |
| string WorkbenchPluginAttribute.m_Description |
| string WorkbenchPluginAttribute.m_Icon |
| string WorkbenchPluginAttribute.m_Name |
| ref array<string> WorkbenchPluginAttribute.m_ResourceTypes |
| string WorkbenchPluginAttribute.m_Shortcut |
| ref array<string> WorkbenchPluginAttribute.m_WBModules |