Improve documentation of some Resource methods

This commit is contained in:
Jordyfel
2025-02-06 22:16:18 +02:00
parent f0f5319b0b
commit e9703ee1aa
3 changed files with 14 additions and 14 deletions

View File

@@ -504,7 +504,7 @@ void Resource::set_as_translation_remapped(bool p_remapped) {
}
}
//helps keep IDs same number when loading/saving scenes. -1 clears ID and it Returns -1 when no id stored
// Helps keep IDs the same when loading/saving scenes. An empty ID clears the entry, and an empty ID is returned when not found.
void Resource::set_id_for_path(const String &p_path, const String &p_id) {
#ifdef TOOLS_ENABLED
if (p_id.is_empty()) {