void OnTriggerExit2D(Collider2D other) { if (other.CompareTag("interObject")) { if (other.gameObject == currentInterObj) { currentInterObj = null; currentInterObjScript.GenericLeave(); } } }