Merge pull request #78661 from AThousandShips/doc_node_path_3_x
[3.x] Add example for `NodePath` to grandparent
This commit is contained in:
commit
fea94b5a0d
1 changed files with 1 additions and 0 deletions
|
@ -15,6 +15,7 @@
|
|||
@"." # The current node.
|
||||
@".." # The parent node.
|
||||
@"../C" # A sibling node C.
|
||||
@"../.." # The grandparent node.
|
||||
# A leading slash means it is absolute from the SceneTree.
|
||||
@"/root" # Equivalent to get_tree().get_root().
|
||||
@"/root/Main" # If your main scene's root node were named "Main".
|
||||
|
|
Loading…
Reference in a new issue