Bläddra i källkod

Fix typo in 2d_movement docs (#7980)

change int to float in 2d movement
Julio Missart 1 år sedan
förälder
incheckning
98d28b3ffe
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      tutorials/2d/2d_movement.rst

+ 1 - 1
tutorials/2d/2d_movement.rst

@@ -131,7 +131,7 @@ while up/down moves it forward or backward in whatever direction it's facing.
         [Export]
         public float RotationSpeed { get; set; } = 1.5f;
 
-        private int _rotationDirection;
+        private float _rotationDirection;
 
         public void GetInput()
         {