scripts/plugins.bat.Empty plugin template. This will download the plugin’s template.plugins\myplugin. Rename it to whatever you want. As our example, we rename it to remote_controlRename the plugin’s project name in plugins\remote_control\genie.lua. The name must match the directory name from step 3:
- if plugin "myplugin" then
+ if plugin "remote_control" then
LUMIX_PLUGIN_ENTRY in plugins\remote_control\src\myplugin.cpp to match the plugin’s name:
- LUMIX_PLUGIN_ENTRY(myplugin)
+ LUMIX_PLUGIN_ENTRY(remote_control)
You can rename myplugin.cpp, but it does not need to match the plugin’s name.
LUMIX_STUDIO_ENTRY in plugins\remote_control\src\editor\plugins.cpp to match the plugin’s name:
- LUMIX_STUDIO_ENTRY(myplugin)
+ LUMIX_STUDIO_ENTRY(remote_control)
You can rename myplugin.cpp, but it does not need to match the plugin’s name.
scripts\genie.exe vs2022 from the repository root.myplugin; update them as needed.