Example #1
0
        public void onGetPurchasingVersion()
        {
            String promoVersion = Purchasing.GetPromoVersion();
            int    eventType    = (int)PurchasingEvent.VERSION;

            m_UnityPurchasing.CallStatic("dispatchReturnEvent", eventType, promoVersion);
        }
        static void UnityAdsPurchasingGetPurchasingVersion()
        {
            string result = Purchasing.GetPromoVersion();

            UnityAdsPurchasingDispatchReturnEvent((long)PurchasingEvent.VERSION, result);
        }