diff options
author | jsjtxietian <jsjtxietian@outlook.com> | 2023-10-15 20:59:01 +0800 |
---|---|---|
committer | jsjtxietian <jsjtxietian@outlook.com> | 2023-10-15 22:19:44 +0800 |
commit | 161a4b9d602ffa6ab80fc794f804b014ceee84b9 (patch) | |
tree | c4ff3c03f14b6cc81cd65711cca7143b6bac0c6c | |
parent | a574c0296b38d5f786f249b12e6251e562c528cc (diff) | |
download | redot-engine-161a4b9d602ffa6ab80fc794f804b014ceee84b9.tar.gz |
Document UID behavior in ResourceSaver's save function
-rw-r--r-- | doc/classes/ResourceSaver.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/ResourceSaver.xml b/doc/classes/ResourceSaver.xml index 7b90781fc5..42c9bd7a3c 100644 --- a/doc/classes/ResourceSaver.xml +++ b/doc/classes/ResourceSaver.xml @@ -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> |