소스 검색

Merge pull request #75350 from AThousandShips/nodepath_doc_fix

Fix `NodePath` subname index range documentation
Yuri Sizov 2 년 전
부모
커밋
1589f0b161
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      doc/classes/NodePath.xml

+ 1 - 1
doc/classes/NodePath.xml

@@ -141,7 +141,7 @@
 			<return type="StringName" />
 			<param index="0" name="idx" type="int" />
 			<description>
-				Gets the resource or property name indicated by [param idx] (0 to [method get_subname_count]).
+				Gets the resource or property name indicated by [param idx] (0 to [method get_subname_count] - 1).
 				[codeblocks]
 				[gdscript]
 				var node_path = NodePath("Path2D/PathFollow2D/Sprite2D:texture:load_path")