浏览代码

Fix missing semicolon in C# code sample in Exporting tutorial (#3778)

Player.cs code (c#) won't compile because of a missing simicolon.
Mathias 5 年之前
父节点
当前提交
1f35af0f2f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      getting_started/step_by_step/exporting.rst

+ 1 - 1
getting_started/step_by_step/exporting.rst

@@ -170,7 +170,7 @@ changed:
             // Move towards the target and stop when close.
             // Move towards the target and stop when close.
             if (Position.DistanceTo(_target) > 10)
             if (Position.DistanceTo(_target) > 10)
             {
             {
-                velocity = _target - Position
+                velocity = _target - Position;
             }
             }
 
 
             // Remove keyboard controls.
             // Remove keyboard controls.