Browse Source

Merge pull request #6700 from paulloz/csharp/signals-must-be-public

C# signal delegates must be public
Max Hilbrunner 2 years ago
parent
commit
f41639577e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tutorials/scripting/c_sharp/c_sharp_signals.rst

+ 1 - 1
tutorials/scripting/c_sharp/c_sharp_signals.rst

@@ -36,7 +36,7 @@ In addition, you can always access signal names associated with a node type thro
 Custom signals as C# events
 ---------------------------
 
-To declare a custom event in your C# script, use the ``[Signal]`` attribute on a delegate type.
+To declare a custom event in your C# script, use the ``[Signal]`` attribute on a public delegate type.
 Note that the name of this delegate needs to end with ``EventHandler``.
 
 .. code-block:: csharp