浏览代码

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 年之前
父节点
当前提交
ded85ebb94
共有 1 个文件被更改,包括 2 次插入2 次删除
  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.