Project Plugins
The existing features of the Editor can be extended by plugins that currently support two creation methods: Lua script and C++ dynamic library.
Creating Plugins
Click File -> Create Plugin to open the Create Plugin window. Select a plugin template as needed, and fill in the plugin name. Then click Create to create a plugin in the location of the Path directory (This directory is specified by the project config file).
Copy the plugin to the project plugin directory.
Plugin Directory
The plugin directory is shown below:
bin: The generated binary files
config: Plugin configs
res: Plugin resources
skin: Interface resources
text: Translation resources
script: Scripts
source: C++ directories
The above directory can be configured through the plugininfo file in the plugin root directory.
The load of the plugin dynamic library needs to be configured in config/project.ini under the plugin directory.
As shown below: