private void OnTriggerExit(Collider other) { if (other.gameObject.CompareTag("Player") && !isExit) { //Debug.Log("Delete previous"); otherPipe.CleanUpPipes(this); } }