Skip to content

Commit

Permalink
Merge pull request #42865 from KoBeWi/disappearing_@s
Browse files Browse the repository at this point in the history
Document that setting node name will remove @s
  • Loading branch information
akien-mga authored Oct 17, 2020
2 parents 5b6a22e + 02ce2f4 commit 6a8dfdb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/classes/Node.xml
Original file line number Diff line number Diff line change
Expand Up @@ -834,6 +834,7 @@
</member>
<member name="name" type="StringName" setter="set_name" getter="get_name">
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.
</member>
<member name="owner" type="Node" setter="set_owner" getter="get_owner">
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.
Expand Down

0 comments on commit 6a8dfdb

Please sign in to comment.