mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-07 02:12:07 +03:00
Fixed "GetNode" inconsistency
See #4794
(cherry picked from commit 4cfe07b696)
This commit is contained in:
committed by
Rémi Verschelde
parent
0adb4ababa
commit
0b320a198f
@@ -70,7 +70,7 @@ corner of the screen, so to place a 2D node named ``Node2D`` 400 pixels to the r
|
||||
|
||||
.. 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
|
||||
|
||||
Reference in New Issue
Block a user