public void SetMatchInfo(ETModel.Match.Match match) { matchInfo = match; if (matchInfo.frameDataQueue == null) { matchInfo.frameDataQueue = new List <FrameData>(); } matchInfo.frameDataQueue.Clear(); }
public void Init(List <ModelHorseView> allHorseView, UIBattleMainData uiMatchData, ETModel.Match.Match matchInfo) { this.allHorseView = allHorseView; this.uiMatchData = uiMatchData; this.matchInfo = matchInfo; queueTween.Clear(); MoveUpTweens.Clear(); allFade = uiMatchData.trans_m_AdmissionInfo.GetComponent <DOTweenAnimation>(); InitAdmissionPos(); InitFirstShowUI(); SetBattleInfo(); }