소스 검색

Merge pull request #78660 from AThousandShips/doc_node_path

Add example for `NodePath` to grandparent
Rémi Verschelde 2 년 전
부모
커밋
a93c671b7d
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      doc/classes/NodePath.xml

+ 1 - 0
doc/classes/NodePath.xml

@@ -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".