void AttackAnimationEvent()
    {
        if (target == null)
        {
            return;
        }

        target.DecreaseHealth(damage);
    }
    void AttackAnimationEvent()
    {
        if (target == null)
        {
            return;
        }

        GetComponent <AudioSource>().PlayOneShot(attackSound);

        target.DecreaseHealth(damage);
    }