void OnTriggerEnter(Collider other) { if (other.gameObject.tag == "Player" && other.gameObject.name == "Woodle Character") { if (camF.targetMode) { camF.ExitPOI(); } } }