private void OnTriggerEnter2D(Collider2D other) { if (other.gameObject.tag == "Companion") { cut.istriggered = false; Debug.Log("in"); theCompanion.incutscene = false; theCompanion.hasWalkZone = true; theCompanion.canMove = true; theCompanion.ChooseDirection(); transform.gameObject.SetActive(false); } }