Bläddra i källkod

Apply suggestions from code review

Co-authored-by: A Thousand Ships <[email protected]>
Co-authored-by: Paul Joannon <[email protected]>
31 1 år sedan
förälder
incheckning
848591cefd

+ 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
 .. 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

+ 1 - 1
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)
         {