示例#1
0
 public void OnTriggerEnter(Collider other)
 {
     if (other.CompareTag("Player"))
     {
         if (talkable)
         {
             this.gameObject.GetComponent <NPC>().enabled = true;
             dialogueSystem.EnterRangeOfNPC();
         }
     }
 }