Exemple #1
0
 private void OnTriggerEnter(Collider other)
 {
     if (other.tag == "Player" && !Manejador.NoGenerar)
     {
         esMuroDestruyo = true;
         Jugador.Instancia.Posicionar(transform.position);
         Jugador.Instancia.Morir();
         Manejador.PerderPartida();
     }
 }