소스 검색

Merge pull request #10887 from Calinou/running-code-in-the-editor-fix-csharp-typo

Fix typo in C# example in Running code in the editor
Max Hilbrunner 4 달 전
부모
커밋
51ffca92c9
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;
         }
     }