浏览代码

Merge pull request #9896 from Brederodes/patch-1

Correct "ConnectionCheck" return type
Max Hilbrunner 10 月之前
父节点
当前提交
3f24c74a8d
共有 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;
         private Node _parentCache;
 
 
-        public void ConnectionCheck()
+        public bool ConnectionCheck()
         {
         {
             return _parentCache.HasUserSignal("InteractedWith");
             return _parentCache.HasUserSignal("InteractedWith");
         }
         }