Example #1
0
 private void OnCollisionEnter(Collision col)
 {
     if (col.collider.CompareTag("bullet"))
     {
         _playerModel.ApplyDamage();
     }
 }