diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-08-10 00:43:50 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-08-10 00:43:50 +0200 |
commit | d76b97e9040fb620ef71160a7ddd118199485461 (patch) | |
tree | 738db9294f807f2789ffadb65bfee098b5fdc239 | |
parent | 7257d1667eacfe9c45d23e087520cec2e6528528 (diff) | |
parent | 15aa04314d1e697992743c3e43d2cce1f9f3355e (diff) | |
download | redot-engine-d76b97e9040fb620ef71160a7ddd118199485461.tar.gz |
Merge pull request #80443 from lotuspar/lotuspar-patch-1
Consistency for NodePath doc code examples
-rw-r--r-- | doc/classes/NodePath.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/classes/NodePath.xml b/doc/classes/NodePath.xml index 77a5cfa6c6..a56e80ec1f 100644 --- a/doc/classes/NodePath.xml +++ b/doc/classes/NodePath.xml @@ -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> |