diff options
| author | Yuri Sizov <yuris@humnom.net> | 2023-08-24 12:49:20 +0200 |
|---|---|---|
| committer | Yuri Sizov <yuris@humnom.net> | 2023-08-24 13:05:41 +0200 |
| commit | 2c77f07aaa4c04c6f439a4636156ba234f6d2e13 (patch) | |
| tree | 6ef8828a7fcc43832fec43e89d2d7dc4545af97a /modules/mono | |
| parent | 6758a7f8c07d1f4c8ec4f052ded6d26402967ebe (diff) | |
| download | redot-engine-2c77f07aaa4c04c6f439a4636156ba234f6d2e13.tar.gz | |
Add a script method to get its class icon
Co-authored-by: Danil Alexeev <danil@alexeev.xyz>
Diffstat (limited to 'modules/mono')
| -rw-r--r-- | modules/mono/csharp_script.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/mono/csharp_script.h b/modules/mono/csharp_script.h index 9802067b46..22115667a7 100644 --- a/modules/mono/csharp_script.h +++ b/modules/mono/csharp_script.h @@ -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; |
