1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-10 13:00:37 +00:00

Add a script method to get its class icon

Co-authored-by: Danil Alexeev <danil@alexeev.xyz>
This commit is contained in:
Yuri Sizov
2023-08-24 12:49:20 +02:00
parent 6758a7f8c0
commit 2c77f07aaa
13 changed files with 52 additions and 12 deletions

View File

@@ -164,6 +164,9 @@ public:
Vector<DocData::ClassDoc> docs;
return docs;
}
virtual String get_class_icon_path() const override {
return icon_path;
}
#endif // TOOLS_ENABLED
Error reload(bool p_keep_state = false) override;