public void loadGiftCB(string msg) { giftMsg = msg; IsCallGift = true; #if !UNITY_WEBGL && !DISABLE_WEBVIEW GiftSentGlobal.Initialize(); #else GiftSentGlobal.Initialize(giftMsg); #endif GiftSentGlobal.UpdateGift(); }
void Start() { pGlobal = this; #if !UNITY_WEBGL && !DISABLE_WEBVIEW GiftSentGlobal.Initialize(); GiftSentGlobal.UpdateGift(); #elif UNITY_EDITOR #else Application.ExternalCall("checkGiftOryor", UserCommonData.imei); btBack.SetActive(false); #endif Award.gameObject.SetActive(true); Ranking.gameObject.SetActive(true); Gift.gameObject.SetActive(true); money.SetStartMoney(int.Parse(UserCommonData.pGlobal.user.user_money)); exp.SetCurrentProgress(UserCommonData.pGlobal.GetEXPProgress(), int.Parse(UserCommonData.pGlobal.user.user_level)); state = GameLandState.GS_MAPMODE; }