Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions getting_started/step_by_step/scripting_first_script.rst
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,10 @@ Add the following code to your script:

.. code-tab:: csharp C#

public MySprite2D()
{
GD.Print("Hello, world!");
}
public override void _Ready()
{
GD.Print("Hello, world!");
}


Let's break it down. The ``func`` keyword defines a new function named
Expand Down