예제 #1
0
    // Update is called once per frame
    void Update()
    {
        UpdatePlayerMovement();

        if (_attackController.IsAttack())
        {
            Attack();
        }

        if (_attackController.IsSprint())
        {
            _player.Sprint();
        }
    }