Fixed "GetNode" inconsistency

See #4794
This commit is contained in:
BlueStag
2021-04-27 17:07:52 +01:00
committed by GitHub
parent 32ecd06049
commit 4cfe07b696

View File

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