Skip to content

Commit

Permalink
Document UID behavior in ResourceSaver's save function
Browse files Browse the repository at this point in the history
  • Loading branch information
jsjtxietian committed Oct 15, 2023
1 parent a574c02 commit 161a4b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/classes/ResourceSaver.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
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].
The [param flags] bitmask can be specified to customize the save behavior using [enum SaverFlags] flags.
Returns [constant OK] on success.
[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.
</description>
</method>
</methods>
Expand Down

0 comments on commit 161a4b9

Please sign in to comment.