Exemplo n.º 1
0
 public static void BuyProduct(string productId, string cbid)
 {
     if (dbg)
     {
         Debug.Log("MobyShop: BEFORE BuyProduct");
     }
     StoreKitCls.CallStatic("BuyProduct", productId, cbid);
     if (dbg)
     {
         Debug.Log("MobyShop: AFTER BuyProduct");
     }
 }
Exemplo n.º 2
0
        public static bool HasProduct(string productId)
        {
            if (dbg)
            {
                Debug.Log("MobyShop: BEFORE HasProduct");
            }
            var ret =
                StoreKitCls.CallStatic <bool>("HasProduct", productId);

            if (dbg)
            {
                Debug.Log("MobyShop: AFTER HasProduct");
            }
            return(ret);
        }