Example #1
0
        public void OpenPricepoints(XsollaPricepoints pricepoints)
        {
            GridView           gridView = GetComponentInChildren <GridView> ();
            PricePointsAdapter adapter  = GetComponentInChildren <PricePointsAdapter>();

            adapter.SetManager(pricepoints);
            adapter.OnBuyPricepoints += (outAmount) => {
                Dictionary <string, object> map = new Dictionary <string, object> (1);
                map.Add("out", outAmount);
                //				StartPayment (map);
                OpenPaymentMethods(map);
            };
            gridView.SetAdapter(adapter, 3);
            Resizer.ResizeToParrent(gameObject);
        }