mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
Fix invalid variable name in C# example in Physics introduction (#5809)
This commit is contained in:
@@ -493,7 +493,7 @@ the ground (including slopes) and jump when standing on the ground:
|
||||
{
|
||||
_velocity.y += _gravity * delta;
|
||||
GetInput();
|
||||
_velocity = MoveAndSlide(velocity, new Vector2(0,-1));
|
||||
_velocity = MoveAndSlide(_velocity, new Vector2(0,-1));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user