I’d like to develop an addon that provides two main windows. However, it looks like a single addon can only provide one. However, I it also seems that Godot addons can have multiple sub-addons (Making plugins — Godot Engine (stable) documentation in English). I’ve set up a simple project that has one main plugin and a subplugin that should provide a main screen window:
The issue I’m having is that the subplugin does not seem to ever get added to the editor. The _enable_plugin() method of my sub plugin does not even seem to be being called. Am I doing something wrong here?
Those look ok. Except based on the documentation, I don’t thing you can have a second plugin script in the subfolder. So put whatever it’s doing in the main script.
Also, I’d add version info, and something in the description and author fields.
Okay. I’d have uploaded it here, but they don’t allow you to embed zip files. I was thinking of making a bug report, but wanted to check here in case I missed something silly.