Beispiel #1
0
 static OpenIAB()
 {
     #if UNITY_ANDROID
     _billing = new OpenIAB_Android();
     Debug.Log("********** Android OpenIAB plugin initialized **********");
     #elif UNITY_IOS
     _billing = new OpenIAB_iOS();
     Debug.Log("********** iOS OpenIAB plugin initialized **********");
     #else
     Debug.LogError("OpenIAB billing not supported on this platform. Sorry.");
     #endif
 }
Beispiel #2
0
        static OpenIAB()
        {
#if UNITY_ANDROID
            _billing = new OpenIAB_Android();
            Debug.Log("********** Android OpenIAB plugin initialized **********");
#elif UNITY_IOS
            _billing = new OpenIAB_iOS();
            Debug.Log("********** iOS OpenIAB plugin initialized **********");
#else
            Debug.LogError("OpenIAB billing not supported on this platform. Sorry.");
#endif
        }