// Use this for initialization void Start() { Anim_Menu = Menu.GetComponent <Animator>(); Anim_Btn = Btn.GetComponent <Animator>(); Anim_Config = Config_btn.GetComponent <Animator>(); Anim_foodBtn = food_btn.GetComponent <Animator>(); Anim_foodMenu = Food_Menu.GetComponent <Animator>(); }
private void Button2_Click_1(object sender, EventArgs e) { Food_Menu f4 = new Food_Menu(); f4.Show(); }