mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Add support for icons in GDExtension classes
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
This commit is contained in:
parent
1522762dc9
commit
ee2cc347c6
7 changed files with 71 additions and 7 deletions
|
|
@ -243,6 +243,8 @@ public:
|
|||
void script_class_save_icon_paths();
|
||||
void script_class_load_icon_paths();
|
||||
|
||||
Ref<Texture2D> extension_class_get_icon(const String &p_class) const;
|
||||
|
||||
Ref<Texture2D> get_script_icon(const Ref<Script> &p_script);
|
||||
void clear_script_icon_cache();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue