private void OnTriggerEnter(Collider other) { if (other.CompareTag("passport")) { npc.CheckPassport(); } else if (other.CompareTag("fail")) { npc.CheckFail(); } }
private void OnTriggerEnter(Collider other) { if (other.CompareTag("passport")) { npc.CheckPassport(); } else if (other.CompareTag("fail")) { npc.CheckFail(); } }