public override void OpenModal() { _Animate = ModalPanel.GetComponent <HomeAnimateVarGatherer>(); foreach (Animator anim in _Animate.GetAnimator) { anim.SetBool("Enter", true); anim.SetBool("Leave", false); } base.OpenModal(); }