Quellcode durchsuchen

Fix typo in C# example in Running code in the editor

Hugo Locurcio vor 3 Monaten
Ursprung
Commit
72834c31a3
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      tutorials/plugins/running_code_in_the_editor.rst

+ 1 - 1
tutorials/plugins/running_code_in_the_editor.rst

@@ -237,7 +237,7 @@ angle add a setter ``set(new_speed)`` which is executed with the input from the
 
         public override void _Process(double delta)
         {
-            Rotation += Mathf.Pi * (float)delta * speed;
+            Rotation += Mathf.Pi * (float)delta * _speed;
         }
     }