Explorar el Código

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

Player.cs code (c#) won't compile because of a missing simicolon.
Mathias hace 5 años
padre
commit
1f35af0f2f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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.
             if (Position.DistanceTo(_target) > 10)
             {
-                velocity = _target - Position
+                velocity = _target - Position;
             }
 
             // Remove keyboard controls.