Click or drag to resize

VisualScriptCustomSignalAddArgument Method

Add an argument to a custom signal added with AddCustomSignal(String).

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void CustomSignalAddArgument(
	string name,
	VariantType type,
	string argname,
	int index = -1
)

Parameters

name
Type: SystemString

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

type
Type: GodotVariantType

[Missing <param name="type"/> documentation for "M:Godot.VisualScript.CustomSignalAddArgument(System.String,Godot.Variant.Type,System.String,System.Int32)"]

argname
Type: SystemString

[Missing <param name="argname"/> documentation for "M:Godot.VisualScript.CustomSignalAddArgument(System.String,Godot.Variant.Type,System.String,System.Int32)"]

index (Optional)
Type: SystemInt32

[Missing <param name="index"/> documentation for "M:Godot.VisualScript.CustomSignalAddArgument(System.String,Godot.Variant.Type,System.String,System.Int32)"]

See Also