Exemple #1
0
 public void loadGiftCB(string msg)
 {
     giftMsg    = msg;
     IsCallGift = true;
             #if !UNITY_WEBGL && !DISABLE_WEBVIEW
     GiftSentGlobal.Initialize();
             #else
     GiftSentGlobal.Initialize(giftMsg);
             #endif
     GiftSentGlobal.UpdateGift();
 }
Exemple #2
0
    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;
    }