Explorar o código

Correct "ConnectionCheck" return type

It was marked as "void" when it should be "bool".
Anaclecio Brederodes hai 1 ano
pai
achega
5b2a7951d1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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");
         }