Skip to content

Commit

Permalink
Merge pull request #80443 from lotuspar/lotuspar-patch-1
Browse files Browse the repository at this point in the history
Consistency for NodePath doc code examples
  • Loading branch information
akien-mga committed Aug 9, 2023
2 parents 7257d16 + 15aa043 commit d76b97e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/classes/NodePath.xml
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,12 @@
Returns all subnames concatenated with a colon character ([code]:[/code]) as separator, i.e. the right side of the first colon in a node path.
[codeblocks]
[gdscript]
var nodepath = NodePath("Path2D/PathFollow2D/Sprite2D:texture:load_path")
print(nodepath.get_concatenated_subnames()) # texture:load_path
var node_path = NodePath("Path2D/PathFollow2D/Sprite2D:texture:load_path")
print(node_path.get_concatenated_subnames()) # texture:load_path
[/gdscript]
[csharp]
var nodepath = new NodePath("Path2D/PathFollow2D/Sprite2D:texture:load_path");
GD.Print(nodepath.GetConcatenatedSubnames()); // texture:load_path
var nodePath = new NodePath("Path2D/PathFollow2D/Sprite2D:texture:load_path");
GD.Print(nodePath.GetConcatenatedSubnames()); // texture:load_path
[/csharp]
[/codeblocks]
</description>
Expand Down

0 comments on commit d76b97e

Please sign in to comment.