mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
PropertyUsage: Rename "DO_NOT_SHARE_ON_DUPLICATE" to "ALWAYS_DUPLICATE"
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
<param index="0" name="subresources" type="bool" default="false" />
|
||||
<description>
|
||||
Duplicates this resource, returning a new resource with its [code]export[/code]ed or [constant PROPERTY_USAGE_STORAGE] properties copied from the original.
|
||||
If [param subresources] is [code]false[/code], a shallow copy is returned. Nested resources within subresources are not duplicated and are shared from the original resource. This behavior can be overridden by the [constant PROPERTY_USAGE_DO_NOT_SHARE_ON_DUPLICATE] flag.
|
||||
If [param subresources] is [code]false[/code], a shallow copy is returned. Nested resources within subresources are not duplicated and are shared from the original resource. This behavior can be overridden by the [constant PROPERTY_USAGE_ALWAYS_DUPLICATE] flag.
|
||||
[b]Note:[/b] For custom resources, this method will fail if [method Object._init] has been defined with required parameters.
|
||||
</description>
|
||||
</method>
|
||||
|
||||
Reference in New Issue
Block a user