Click or drag to resize

NodeReplaceBy Method

Replaces a node in a scene by the given one. Subscriptions that pass through this node will be lost.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void ReplaceBy(
	Node node,
	bool keepData = false
)

Parameters

node
Type: GodotNode

[Missing <param name="node"/> documentation for "M:Godot.Node.ReplaceBy(Godot.Node,System.Boolean)"]

keepData (Optional)
Type: SystemBoolean

[Missing <param name="keepData"/> documentation for "M:Godot.Node.ReplaceBy(Godot.Node,System.Boolean)"]

See Also