mirror of
https://github.com/godotengine/godot-docs.git
synced 2025-12-31 17:49:03 +03:00
Merge pull request #4876 from BlueStaggo/patch-1
Fixed "GetNode" inconsistency
This commit is contained in:
@@ -69,7 +69,7 @@ pixels down, use the following code:
|
||||
|
||||
.. code-tab:: csharp
|
||||
|
||||
var node2D = (Node2D) GetNode("Node2D");
|
||||
var node2D = GetNode<Node2D>("Node2D");
|
||||
node2D.Position = new Vector2(400, 300);
|
||||
|
||||
Godot supports both :ref:`Vector2 <class_Vector2>` and :ref:`Vector3
|
||||
|
||||
Reference in New Issue
Block a user