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); }
public void SetHero(int heroId) { this.heroId = heroId; AvatarConfig avatarConfig = Goo.avatar.GetConfig(heroId); avatarConfig.LoadFull(OnLoadIcon); }
public void SetSolider(int enemySoliderAvatarId) { AvatarConfig avatarConfig = Goo.avatar.GetConfig(enemySoliderAvatarId); avatarConfig.LoadFull(OnLoadIcon); }