Skip to content

Commit 51ffca9

Browse files
authored
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
2 parents d73c629 + 72834c3 commit 51ffca9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/plugins/running_code_in_the_editor.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ angle add a setter ``set(new_speed)`` which is executed with the input from the
237237

238238
public override void _Process(double delta)
239239
{
240-
Rotation += Mathf.Pi * (float)delta * speed;
240+
Rotation += Mathf.Pi * (float)delta * _speed;
241241
}
242242
}
243243

0 commit comments

Comments
 (0)