mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 18:29:11 +00:00
Update the C# EmitSignal() code sample in the signals tutorial
The GDScript code sample was updated in
f044f2607e. This updates the C#
code sample.
This commit is contained in:
@@ -251,7 +251,7 @@ To pass values, add them as the second argument to the ``emit_signal`` function:
|
||||
|
||||
public override void _Ready()
|
||||
{
|
||||
EmitSignal(nameof(MySignal));
|
||||
EmitSignal(nameof(MySignal), true, 42);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user