From 848591cefd94cb953d7cdf890a347f0cf23b0c7e Mon Sep 17 00:00:00 2001 From: 31 <331300+31@users.noreply.github.com> Date: Mon, 22 Jan 2024 04:11:07 -0600 Subject: [PATCH] Apply suggestions from code review Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> Co-authored-by: Paul Joannon <437025+paulloz@users.noreply.github.com> --- tutorials/scripting/c_sharp/c_sharp_signals.rst | 2 +- tutorials/scripting/cross_language_scripting.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tutorials/scripting/c_sharp/c_sharp_signals.rst b/tutorials/scripting/c_sharp/c_sharp_signals.rst index 792730705c3..7f92d2e26fc 100644 --- a/tutorials/scripting/c_sharp/c_sharp_signals.rst +++ b/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 .. warning:: While all engine signals connected as events are automatically disconnected when nodes are freed, custom - signals connected using ``+=`` aren't. Meaning that: you will need to manually disconnect (using ``-=``) + signals connected using ``+=`` aren't. Meaning that you will need to manually disconnect (using ``-=``) all the custom signals you connected as C# events (using ``+=``). An alternative to manually disconnecting using ``-=`` is to diff --git a/tutorials/scripting/cross_language_scripting.rst b/tutorials/scripting/cross_language_scripting.rst index fbd5bad0d11..a49f1acee81 100644 --- a/tutorials/scripting/cross_language_scripting.rst +++ b/tutorials/scripting/cross_language_scripting.rst @@ -42,7 +42,7 @@ The following two scripts will be used as references throughout this page. { public string myField = "bar"; - [Signal] public delegate void MySignal(); + [Signal] public delegate void MySignalEventHandler(); public void PrintNodeName(Node node) {