Click or drag to resize

VisualScriptHasDataConnection Method

Returns whether the specified data ports are connected.

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

Parameters

func
Type: SystemString

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

fromNode
Type: SystemInt32

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

fromPort
Type: SystemInt32

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

toNode
Type: SystemInt32

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

toPort
Type: SystemInt32

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

Return Value

Type: Boolean

[Missing <returns> documentation for "M:Godot.VisualScript.HasDataConnection(System.String,System.Int32,System.Int32,System.Int32,System.Int32)"]

See Also