Selaa lähdekoodia

Update getting_started/step_by_step/scripting_player_input.rst

Removing unnecessary spaces in C# comments

Co-authored-by: A Thousand Ships <[email protected]>

Kyle Starr 1 vuosi sitten
vanhempi
commit
ded85ebb94
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      getting_started/step_by_step/scripting_player_input.rst

+ 2 - 2
getting_started/step_by_step/scripting_player_input.rst

@@ -91,9 +91,9 @@ Comment out the lines ``var velocity = Vector2.UP.rotated(rotation) * speed`` an
 
  .. code-tab:: csharp C#
 
-    // var velocity = Vector2.Up.Rotated(Rotation) * _speed;
+    //var velocity = Vector2.Up.Rotated(Rotation) * _speed;
 
-    // Position += velocity * (float)delta;
+    //Position += velocity * (float)delta;
 
 This will ignore the code that moved the icon's position in a circles without user input from the previous exercise.