浏览代码

Merge pull request #10514 from Synzorasize/101163_update

Document adding scene-unique nodes by prefixing with '%'
Max Hilbrunner 6 月之前
父节点
当前提交
fb685d9f2c
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      tutorials/scripting/scene_unique_nodes.rst

+ 5 - 0
tutorials/scripting/scene_unique_nodes.rst

@@ -18,6 +18,8 @@ the node's path is changed.
 Creation and usage
 ------------------
 
+There are two ways to create a scene unique node.
+
 In the Scene tree dock, right-click on a node and select
 **Access as Unique Name** in the context menu.
 
@@ -28,6 +30,9 @@ to its name in the scene tree:
 
 .. image:: img/percent.webp
 
+You can also do this while renaming the node by adding "%" to the beginning of the name.
+Once you confirm, the percent symbol will appear next to its name.
+
 You can now use the node in your script. For example, you can reference it with
 a ``get_node()`` method call by typing the % symbol, followed by the node's
 name: