浏览代码

Merge pull request #10544 from betalars/tool-bug-warning

Add warning about tool scripts needing editor restart
Max Hilbrunner 6 月之前
父节点
当前提交
9c55731f67
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      tutorials/plugins/running_code_in_the_editor.rst

+ 4 - 0
tutorials/plugins/running_code_in_the_editor.rst

@@ -151,6 +151,10 @@ and open a script, and change it to this:
 Save the script and return to the editor. You should now see your object rotate.
 Save the script and return to the editor. You should now see your object rotate.
 If you run the game, it will also rotate.
 If you run the game, it will also rotate.
 
 
+.. warning::
+    You may need to restart the editor. This is a known bug found in all Godot 4 versions:
+    `GH-66381 <https://github.com/godotengine/godot/issues/66381>`_.
+
 .. image:: img/rotating_in_editor.gif
 .. image:: img/rotating_in_editor.gif
 
 
 .. note::
 .. note::