/**마켓 결제용*/ public void InitGoldShop(string title, int category, GetGoldShopEvent goldEvent) { mGoldList = goldEvent.Response.data; transform.FindChild("Top").FindChild("LblShop").GetComponent <UILabel>().text = title; mCategory = category; InitGoldList(); if (Application.platform == RuntimePlatform.IPhonePlayer) { IOSMgr.InAppInit(); } else if (Application.platform == RuntimePlatform.Android) { #if (UNITY_ANDROID) if (UtilMgr.IsMLB()) { GoogleIAB.init(Constants.GOOGLE_PUBLIC_KEY_MLB); } else { GoogleIAB.init(Constants.GOOGLE_PUBLIC_KEY_KBO); } #endif } }
void ruby() { if (Application.platform == RuntimePlatform.IPhonePlayer) { // EventDelegate eventd = new EventDelegate(this, "purchaseInit"); // string prodList = ""; // foreach(ItemShopRubyInfo rubyInfo in getruby.Response.data){ // prodList += rubyInfo.productCode + ";"; // } IOSMgr.InAppInit(); } else if (Application.platform == RuntimePlatform.Android) { #if (UNITY_ANDROID) GoogleIAB.init(Constants.GOOGLE_PUBLIC_KEY); #endif } // } else{ GetAblePP(); // } }