mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-03 05:48:42 +03:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user