コード例 #1
0
        public void OpenPricepoints(XsollaUtils utils, XsollaPricepointsManager pricepoints)
        {
            DrawShopScreen();
            string title   = utils.GetTranslations().Get(XsollaTranslations.PRICEPOINT_PAGE_TITLE);
            string vcName  = utils.GetProject().virtualCurrencyName;
            string buyText = utils.GetTranslations().Get(XsollaTranslations.VIRTUAL_ITEM_OPTION_BUTTON);

            if (utils.GetSettings().components.virtualCurreny.customAmount)
            {
                _shopViewController.OpenPricepoints(title, pricepoints, vcName, buyText, true, utils);
            }
            else
            {
                _shopViewController.OpenPricepoints(title, pricepoints, vcName, buyText);
            }
        }
コード例 #2
0
 public void OpenPricepoints(XsollaUtils utils, XsollaPricepoints pricepoints)
 {
     InitShopScreen();
     _shopViewController.OpenPricepoints(utils.GetTranslations().Get(XsollaTranslations.PRICEPOINT_PAGE_TITLE), pricepoints);
 }