Exemple #1
0
 private void TouchManagerOnTap(object sender, EventArgs e)
 {
     if (_isTargeted && !_isHit)
     {
         _isHit = true;
         screamHitAudioPlayer.Play(_audioSource);
         _ragdollController.EnableRagdollEffect();
         OnDied?.Invoke(this, gameObject.tag);
     }
 }