浏览代码

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

Hugo Locurcio 3 月之前
父节点
当前提交
72834c31a3
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;
         }
     }