Click or drag to resize

ObjectEmitSignal Method

Emits the given signal. The signal must exist, so it should be a built-in signal of this class or one of its parent classes, or a user-defined signal. This method supports a variable number of arguments, so parameters are passed as a comma separated list. Example:

emit_signal("hit", weapon_type, damage)
emit_signal("game_over")

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void EmitSignal(
	string signal,
	params Object[] args
)

Parameters

signal
Type: SystemString

[Missing <param name="signal"/> documentation for "M:Godot.Object.EmitSignal(System.String,System.Object[])"]

args
Type: SystemObject

[Missing <param name="args"/> documentation for "M:Godot.Object.EmitSignal(System.String,System.Object[])"]

See Also