Browse Source

Update the C# `EmitSignal()` code sample in the signals tutorial

The GDScript code sample was updated in
f044f2607e0801e1d2a1d946b9849a67abca03ee. This updates the C#
code sample.
Hugo Locurcio 5 years ago
parent
commit
3fcbe00654
1 changed files with 1 additions and 1 deletions
  1. 1 1
      getting_started/step_by_step/signals.rst

+ 1 - 1
getting_started/step_by_step/signals.rst

@@ -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);
         }
     }