Skip to content

Commit 25e650a

Browse files
committed
Merge pull request #83388 from jsjtxietian/document-resource-saver-uid
Document UID behavior in ResourceSaver's save function
2 parents 9ff5ee7 + 161a4b9 commit 25e650a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/classes/ResourceSaver.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
Saves a resource to disk to the given path, using a [ResourceFormatSaver] that recognizes the resource object. If [param path] is empty, [ResourceSaver] will try to use [member Resource.resource_path].
4343
The [param flags] bitmask can be specified to customize the save behavior using [enum SaverFlags] flags.
4444
Returns [constant OK] on success.
45+
[b]Note:[/b] When the project is running, any generated UID associated with the resource will not be saved as the required code is only executed in editor mode.
4546
</description>
4647
</method>
4748
</methods>

0 commit comments

Comments
 (0)