private void OnTriggerEnter(Collider other) { if (other.CompareTag("Player") && used == false) { id.triggerDialogue(); used = true; } }
private void OnTriggerEnter(Collider other) { if (this.name != "Final Transition") { if (other.CompareTag("Player") && hit == false) { SoundManager.playSound("transition"); hit = true; id.triggerDialogue(); } } }