private void Update() { movement.Move(physicStats.speed, Vector2.right); if (goUp) { movement.Jump(physicStats.height); } }
private static void Jump_performed(InputAction.CallbackContext context) { _movementComponent.Jump(); }
private static void Jump_performed() { _movementComponent.Jump(); }