void ClosePage() { list.ClearAllAward(); list.currentIndex = -1; GameLandGlobal.HideAward(); }
void ShowRanking() { if (GameLandGlobal.state == GameLandState.GS_MAPMODE) { GameLandGlobal.ShowRanking(); } }
void ShowAward() { if (GameLandGlobal.state == GameLandState.GS_MAPMODE) { GameLandGlobal.ShowAward(); } }
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; }
void CloseGift() { gList.ClearAllList(); GameLandGlobal.HideGift(); }
void ClosePage() { rankList.ClearAllList(); rankList.currentIndex = -1; GameLandGlobal.HideRanking(); }
void CloseRanking() { GameLandGlobal.HideRanking(); }