ResourceDuplicate Method |
Duplicates the resource, returning a new resource. By default, sub-resources are shared between resource copies for efficiency. This can be changed by passing true to the subresources argument which will copy the subresources.
Note: If subresources is true, this method will only perform a shallow copy. Nested resources within subresources will not be duplicated and will still be shared.
Namespace: Godot
public Resource Duplicate( bool subresources = false )
[Missing <param name="subresources"/> documentation for "M:Godot.Resource.Duplicate(System.Boolean)"]
[Missing <returns> documentation for "M:Godot.Resource.Duplicate(System.Boolean)"]