1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Merge pull request #102499 from Jordyfel/resource-docs

Improve documentation of some `Resource` methods
This commit is contained in:
Rémi Verschelde
2025-06-28 13:02:54 +02:00
3 changed files with 14 additions and 14 deletions

View File

@@ -671,7 +671,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()) {