Exemplo n.º 1
0
 void OnTriggerEnter(Collider other)
 {
     if (other.name == "player")
     {
         ui.enableContinue();
         ui.endGame = true;
     }
 }