/**마켓 결제용*/ 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 } }
public void OpenGold() { mGoldEvent = new GetGoldShopEvent(ReceivedGold); NetMgr.GetGoldShop(mGoldEvent); }
public void OpenGold() { mGoldEvent = new GetGoldShopEvent(ReceivedGold); NetMgr.GetGoldShop(mGoldEvent); }
/**마켓 결제용*/ 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 } }