Răsfoiți Sursa

Correct "ConnectionCheck" return type

It was marked as "void" when it should be "bool".
Anaclecio Brederodes 1 an în urmă
părinte
comite
5b2a7951d1
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      tutorials/best_practices/godot_notifications.rst

+ 1 - 1
tutorials/best_practices/godot_notifications.rst

@@ -279,7 +279,7 @@ nodes that one might create at runtime.
     {
         private Node _parentCache;
 
-        public void ConnectionCheck()
+        public bool ConnectionCheck()
         {
             return _parentCache.HasUserSignal("InteractedWith");
         }