コード例 #1
0
ファイル: OpenIAB.cs プロジェクト: rosarioconti/OpenIAB
 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
 }
コード例 #2
0
ファイル: OpenIAB.cs プロジェクト: parkerkane/OpenIAB
        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
        }