Ejemplo n.º 1
0
 void OnTriggerEnter(Collider other)
 {
     if (other.CompareTag("Goal"))
     {
         TC.StopTimer();
         BUIC.FadeOutWin();
     }
     if (other.CompareTag("Death Trigger"))
     {
         TC.StopTimer();
         BUIC.FadeOutLose();
     }
 }