Skip to content

Commit 15fbfc5

Browse files
Piraleinbrgillis
andcommitted
Adding "Using System;" line to default C# script
Co-Authored-By: Bryan Gillis <[email protected]>
1 parent 4e60b38 commit 15fbfc5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

getting_started/step_by_step/scripting_first_script.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ the following line of code:
101101
.. code-tab:: csharp C#
102102

103103
using Godot;
104-
104+
using System;
105+
105106
public partial class MySprite2D : Sprite2D
106107
{
107108
}
@@ -327,7 +328,8 @@ Here is the complete ``sprite_2d.gd`` file for reference.
327328
.. code-tab:: csharp C#
328329

329330
using Godot;
330-
331+
using System;
332+
331333
public partial class MySprite2D : Sprite2D
332334
{
333335
private int _speed = 400;

0 commit comments

Comments
 (0)