Пример #1
0
    public void Kick()
    {
        if (!IsHitting && strategyAction.ShouldKick())
        {
            Viola.Instance.Source.PlayOneShot(KickSound, volumeScale: 1);
            animator.SetFloat("Blend", 0.3315068f);
            IsHitting = true;

            DoDmg(KickDmg);

            OnPlayerFigherHit?.Invoke(this, null);
        }
    }