Merge pull request #90969 from Naros/expose-resource-and-saver-methods

Expose several resource/resource-saver functions
This commit is contained in:
Rémi Verschelde 2024-09-23 12:27:40 +02:00
commit 510bc3dc6a
No known key found for this signature in database
GPG key ID: C3336907360768E1
6 changed files with 84 additions and 4 deletions

View file

@ -116,6 +116,8 @@ public:
void add_resource_format_saver(Ref<ResourceFormatSaver> p_format_saver, bool p_at_front);
void remove_resource_format_saver(Ref<ResourceFormatSaver> p_format_saver);
ResourceUID::ID get_resource_id_for_path(const String &p_path, bool p_generate = false);
ResourceSaver() { singleton = this; }
};