From 02ce2f4bb95bb41b3ec164d0a7bf9ea48d6a9501 Mon Sep 17 00:00:00 2001 From: Tomasz Chabora Date: Sat, 17 Oct 2020 01:33:01 +0200 Subject: Document that setting node name will remove @s --- doc/classes/Node.xml | 1 + 1 file changed, 1 insertion(+) (limited to 'doc/classes') diff --git a/doc/classes/Node.xml b/doc/classes/Node.xml index 623e4b099b..2e8b76865d 100644 --- a/doc/classes/Node.xml +++ b/doc/classes/Node.xml @@ -834,6 +834,7 @@ The name of the node. This name is unique among the siblings (other child nodes from the same parent). When set to an existing name, the node will be automatically renamed. + [b]Note:[/b] Auto-generated names might include the [code]@[/code] character, which is reserved for unique names when using [method add_child]. When setting the name manually, any [code]@[/code] will be removed. The node owner. A node can have any other node as owner (as long as it is a valid parent, grandparent, etc. ascending in the tree). When saving a node (using [PackedScene]), all the nodes it owns will be saved with it. This allows for the creation of complex [SceneTree]s, with instancing and subinstancing. -- cgit v1.2.3