void playTalkStart() { m_plotId++; //Debug.Log("=============m_plotId: " + m_plotId); m_plotConf = GetPlotWarStartConf(m_stageId, m_plotId); if (m_plotConf == null) { Debug.LogFormat("<color=green>cant find plotconf {0} {1}</color>", m_stageId, m_plotId); //PlayerPrefs.SetInt("plot_" + m_stageId, 1); initPlot(); return; } aratarConf = GetAvatarConf(m_plotConf.avatarId); if (aratarConf == null) { Debug.LogFormat("<color=green>cant find aratarConf {0} {1}</color>", m_stageId, m_plotId); //PlayerPrefs.SetInt("plot_" + m_stageId, 1); initPlot(); return; } War.Pause(); aratarConf.LoadFull(LoadFullDone); }
void initPlot() { m_stageId = 0; m_plotId = 0; m_plotConf = null; aratarConf = null; if (m_plotPannel != null) { Destroy(m_plotPannel); } m_imgHeroFull = null; m_nameBg = null; m_textContent = null; if (War.isPlaying == false) { War.Play(); } isTipsJumping = false; }
public void AddPlotWarStartConf(PlotWarStartConf plotWarStartConf) { plotWarStartConfDic.Add(plotWarStartConf.id, plotWarStartConf); }