Skip to content

Commit 72834c3

Browse files
committed
Fix typo in C# example in Running code in the editor
1 parent c5da624 commit 72834c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/plugins/running_code_in_the_editor.rst

Lines changed: 1 addition & 1 deletion
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)