Click or drag to resize

VisualScriptDataConnect Method

Connect two data ports. The value of from_node's from_port would be fed into to_node's to_port.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void DataConnect(
	string func,
	int fromNode,
	int fromPort,
	int toNode,
	int toPort
)

Parameters

func
Type: SystemString

[Missing <param name="func"/> documentation for "M:Godot.VisualScript.DataConnect(System.String,System.Int32,System.Int32,System.Int32,System.Int32)"]

fromNode
Type: SystemInt32

[Missing <param name="fromNode"/> documentation for "M:Godot.VisualScript.DataConnect(System.String,System.Int32,System.Int32,System.Int32,System.Int32)"]

fromPort
Type: SystemInt32

[Missing <param name="fromPort"/> documentation for "M:Godot.VisualScript.DataConnect(System.String,System.Int32,System.Int32,System.Int32,System.Int32)"]

toNode
Type: SystemInt32

[Missing <param name="toNode"/> documentation for "M:Godot.VisualScript.DataConnect(System.String,System.Int32,System.Int32,System.Int32,System.Int32)"]

toPort
Type: SystemInt32

[Missing <param name="toPort"/> documentation for "M:Godot.VisualScript.DataConnect(System.String,System.Int32,System.Int32,System.Int32,System.Int32)"]

See Also