public void MiniGame2() { if ((input2.text == "antique") || (input2.text == "Antique")) { GameObject.Find("MiniGame2").SetActive(false); Store1.GetComponent <BoxCollider2D>().isTrigger = true; Minigame2.SetBool("isOpen", false); } input2.text = ""; }