public void Button_Gallery_Open() { gameObject.GetComponent <Animator>().enabled = false; Panel_Gallery.SetActive(true); Panel_Menu.SetActive(false); gallery.Button_Open(); }