public void SetUpBtnMenu() { BtnContainer.SetActive(true); var shopBtn = BtnContainer.transform.Find("ShopBtn"); shopBtn.GetComponent <Button>().onClick.AddListener(delegate { sceneMaster.isPurchase = true; sceneMaster.LaunchGlossaryScene(); }); var optionBtn = BtnContainer.transform.Find("OptionBtn"); optionBtn.GetComponent <Button>().onClick.AddListener(delegate { sceneMaster.LaunchPlayerSettingsScene(); }); var glossaryBtn = BtnContainer.transform.Find("GlossaryBtn"); glossaryBtn.GetComponent <Button>().onClick.AddListener(delegate { sceneMaster.isPurchase = false; sceneMaster.LaunchGlossaryScene(); }); GameObject.Find("PlayButton").GetComponent <Button>().onClick.AddListener(delegate { sceneMaster.LaunchShopScene(); }); }