mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-25 18:39:18 +01:00
Fix NodePath
subname index range documentation
This commit is contained in:
parent
90cd6b3cdc
commit
7579d990c1
@ -96,7 +96,7 @@
|
|||||||
<return type="String" />
|
<return type="String" />
|
||||||
<argument index="0" name="idx" type="int" />
|
<argument index="0" name="idx" type="int" />
|
||||||
<description>
|
<description>
|
||||||
Gets the resource or property name indicated by [code]idx[/code] (0 to [method get_subname_count]).
|
Gets the resource or property name indicated by [code]idx[/code] (0 to [method get_subname_count] - 1).
|
||||||
[codeblock]
|
[codeblock]
|
||||||
var node_path = NodePath("Path2D/PathFollow2D/Sprite:texture:load_path")
|
var node_path = NodePath("Path2D/PathFollow2D/Sprite:texture:load_path")
|
||||||
print(node_path.get_subname(0)) # texture
|
print(node_path.get_subname(0)) # texture
|
||||||
|
Loading…
Reference in New Issue
Block a user