You've already forked godot
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:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user