Merge pull request #75350 from AThousandShips/nodepath_doc_fix

Fix `NodePath` subname index range documentation
This commit is contained in:
Yuri Sizov 2023-03-27 12:29:38 +02:00 committed by GitHub
commit 1589f0b161
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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