Преглед на файлове

Correct "ConnectionCheck" return type

It was marked as "void" when it should be "bool".
Anaclecio Brederodes преди 1 година
родител
ревизия
5b2a7951d1
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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");
         }