NodeDuplicate Method |
Duplicates the node, returning a new node.
You can fine-tune the behavior using the flags (see NodeDuplicateFlags).
Note: It will not work properly if the node contains a script with constructor arguments (i.e. needs to supply arguments to method). In that case, the node will be duplicated without a script.
Namespace: Godot
public Node Duplicate( int flags = 15 )
[Missing <param name="flags"/> documentation for "M:Godot.Node.Duplicate(System.Int32)"]
[Missing <returns> documentation for "M:Godot.Node.Duplicate(System.Int32)"]