Пример #1
0
    public void Attack01(int damageDealt)
    {
        Debug.Log("Attack01");

        playerManager.attack01Collider.enabled = true;                                    // Activates the collider of the Attack10 attack.

        playerManager.attack01Collider.radius += attack10ColliderRadius * Time.deltaTime; // Makes the attack01Collider get bigger during the attack01Behaviour.

        playerAnimation.Attack01Animation();                                              // Calls the Attack01Animation function from the PlayerAnimation script.

        attackDamage = damageDealt;
    }