diff options
author | Yuri Sizov <yuris@humnom.net> | 2022-01-19 19:16:17 +0300 |
---|---|---|
committer | Yuri Sizov <yuris@humnom.net> | 2022-01-19 19:16:17 +0300 |
commit | 01845510f6b28c94eabf039fb1c97ec6bf8246c5 (patch) | |
tree | e7c08fedb4a57227ccaa8f202f3df8b9ccd945c5 /editor/plugins/asset_library_editor_plugin.h | |
parent | 249c60e9d1aacd07d87786db8059f30aed02bb68 (diff) |
Fix Asset Library UX when an asset is being downloaded
Diffstat (limited to 'editor/plugins/asset_library_editor_plugin.h')
-rw-r--r-- | editor/plugins/asset_library_editor_plugin.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/plugins/asset_library_editor_plugin.h b/editor/plugins/asset_library_editor_plugin.h index 058aafc221..29d26411f3 100644 --- a/editor/plugins/asset_library_editor_plugin.h +++ b/editor/plugins/asset_library_editor_plugin.h @@ -164,7 +164,10 @@ public: void set_external_install(bool p_enable) { external_install = p_enable; } int get_asset_id() { return asset_id; } void configure(const String &p_title, int p_asset_id, const Ref<Texture2D> &p_preview, const String &p_download_url, const String &p_sha256_hash); + + bool can_install() const; void install(); + EditorAssetLibraryItemDownload(); }; |