mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 08:23:29 +00:00
Add PluginScript support for global class naming/icon path
This commit is contained in:
parent
3c9c2cbb23
commit
c4c18a2c58
5 changed files with 42 additions and 0 deletions
|
@ -302,6 +302,7 @@ Error PluginScript::reload(bool p_keep_state) {
|
|||
_data = manifest.data;
|
||||
_name = *(StringName *)&manifest.name;
|
||||
_tool = manifest.is_tool;
|
||||
_icon_path = *(String *)&manifest.icon_path;
|
||||
|
||||
Dictionary *members = (Dictionary *)&manifest.member_lines;
|
||||
for (const Variant *key = members->next(); key != nullptr; key = members->next(key)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue