浏览代码

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");
         }