void CommonInit() { // IsInactive = false; mSeasonEvent = null; mNewsEvent = null; mGameEvent = null; // GetInfos(); if (InitPlayerInfo()) { return; } if (IsPack) { if (IsFirstPack) { transform.GetComponent <PlayerCardAnimation>().AppearPack(mProductCode); } else { // if(mPageState == PAGE_STATE.PREV) // transform.GetComponent<PlayerCardAnimation>().PrevPage(); // else // transform.GetComponent<PlayerCardAnimation>().NextPage(); } } else { transform.GetComponent <PlayerCardAnimation>().AppearBack(); } InitNewType(); }
public void SetAnalysis() { if (mSeasonEvent == null) { mSeasonEvent = new PlayerSeasonInfoEvent(ReceivedSeason2); NetMgr.PlayerSeasonInfo(mPlayerId, mSeasonEvent); } else { InitAnalysis(); } }
void GetInfos() { mSeasonEvent = new PlayerSeasonInfoEvent(ReceivedSeason); NetMgr.PlayerSeasonInfo(mPlayerId, mSeasonEvent); }
void GetInfos() { mSeasonEvent = new PlayerSeasonInfoEvent(ReceivedSeason); NetMgr.PlayerSeasonInfo(mPlayerId, mSeasonEvent); }
void CommonInit() { // IsInactive = false; mSeasonEvent = null; mNewsEvent = null; mGameEvent = null; // GetInfos(); if(InitPlayerInfo()) return; if(IsPack){ if(IsFirstPack){ transform.GetComponent<PlayerCardAnimation>().AppearPack(mProductCode); } else{ // if(mPageState == PAGE_STATE.PREV) // transform.GetComponent<PlayerCardAnimation>().PrevPage(); // else // transform.GetComponent<PlayerCardAnimation>().NextPage(); } } else transform.GetComponent<PlayerCardAnimation>().AppearBack(); InitNewType(); }
public void SetAnalysis() { if(mSeasonEvent == null){ mSeasonEvent = new PlayerSeasonInfoEvent(ReceivedSeason2); NetMgr.PlayerSeasonInfo(mPlayerId, mSeasonEvent); } else{ InitAnalysis(); } }