public void DirectionBindings(float x, float y) { if (canMove) { _currentActionState.MovementInput(x, y); } else { _rigidbody.velocity = new Vector2(0.0f, 0.0f); } }
public void DirectionBindings(float x, float y) { _currentActionState.MovementInput(x, y); }