Пример #1
0
 private void OnCollisionEnter(Collision collision)
 {
     if (collision.gameObject.CompareTag("Rayo"))
     {
         life.Resurrection();
     }
 }