You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Merge pull request #78660 from AThousandShips/doc_node_path
Add example for `NodePath` to grandparent
This commit is contained in:
@@ -15,6 +15,7 @@
|
|||||||
^"." # The current node.
|
^"." # The current node.
|
||||||
^".." # The parent node.
|
^".." # The parent node.
|
||||||
^"../C" # A sibling node C.
|
^"../C" # A sibling node C.
|
||||||
|
^"../.." # The grandparent node.
|
||||||
# A leading slash means it is absolute from the SceneTree.
|
# A leading slash means it is absolute from the SceneTree.
|
||||||
^"/root" # Equivalent to get_tree().get_root().
|
^"/root" # Equivalent to get_tree().get_root().
|
||||||
^"/root/Main" # If your main scene's root node were named "Main".
|
^"/root/Main" # If your main scene's root node were named "Main".
|
||||||
|
|||||||
Reference in New Issue
Block a user