From 3dc8f58ae41ad9b5e49d83bea17c71d9c69a1345 Mon Sep 17 00:00:00 2001 From: Matthew Date: Mon, 27 Dec 2021 11:22:06 -0500 Subject: [PATCH] Add C# instructions for Your first game (#5474) Co-authored-by: Hugo Locurcio --- getting_started/first_2d_game/03.coding_the_player.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/getting_started/first_2d_game/03.coding_the_player.rst b/getting_started/first_2d_game/03.coding_the_player.rst index de6eae59d..1657e77bb 100644 --- a/getting_started/first_2d_game/03.coding_the_player.rst +++ b/getting_started/first_2d_game/03.coding_the_player.rst @@ -425,7 +425,8 @@ We want ``Player`` to detect when it's hit by an enemy, but we haven't made any enemies yet! That's OK, because we're going to use Godot's *signal* functionality to make it work. -Add the following at the top of the script, after ``extends Area2D``: +Add the following at the top of the script. If you're using GDScript, add it after +``extends Area2D``. If you're using C#, add it after ``public class Player : Area2D {``: .. tabs:: .. code-tab:: gdscript GDScript