GodotObject.emitSignal

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:

More...
struct GodotObject
@nogc nothrow
void
emitSignal
(
VarArgs...
)
(
in String signal
,
VarArgs varArgs
)

Detailed Description

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

Meta