void OnTriggerEnter(Collider other) { if (other.tag == "Player") { npc.SetPlayerIsInRange(true); npc.SetTargetLookAt(other.gameObject); } }