예제 #1
0
    private void buttonClick(ButtonScript obj, object args, int param1, int param2)
    {
        HomeShopData hdata = HomeShopData.GetHomeShopData(param1);

        if (param2 == 0)
        {
            PopText.Instance.Show(LanguageManager.instance.GetValue("goumaicishu"));
            return;
        }
        familyShopObj.SetActive(true);
        FamilyShopBuyUI fsb = familyShopObj.GetComponent <FamilyShopBuyUI>();

        fsb.Hdata = hdata;
    }
예제 #2
0
    private void buttonClick(ButtonScript obj, object args, int param1, int param2)
    {
        /// <summary>
        /// 买道具
        /// </summary>
        ///
        ///
        HomeShopData hdata = HomeShopData.GetHomeShopData(param1);

        familyShopObj.SetActive(true);
        FamilyShopBuyUI fsb = familyShopObj.GetComponent <FamilyShopBuyUI>();

        fsb.Hdata = hdata;
    }