示例#1
0
 void OnTriggerEnter(Collider other)
 {
     if (other.gameObject.CompareTag("End"))
     {
         isEnd = true;
         // quitButton.enabled = true;
         // quitButton.gameObject.SetActive (true);
         // other.gameObject.transform.GetComponent<EndLevelTriggerController>().SetGameOver(true);
         // other.gameObject.transform.GetComponent<EndLevelTriggerController> ().ShowDialogue ();
         playerDialogue.gameOver = true;
         playerDialogue.DisplayDialogue(4);
     }
 }