// Update is called once per frame void Update() { UpdatePlayerMovement(); if (_attackController.IsAttack()) { Attack(); } if (_attackController.IsSprint()) { _player.Sprint(); } }