|
@@ -114,7 +114,9 @@ namespace GFGGame
|
|
|
|
|
|
private IEnumerator InitChapter()
|
|
|
{
|
|
|
+ ET.Log.Debug("zoya000");
|
|
|
StoryChapterCfg chapterCfg = StoryChapterCfgArray.Instance.GetCfg(_chapterID);
|
|
|
+ ET.Log.Debug("zoya111");
|
|
|
_ui.m_txtChapterName0.text = chapterCfg.name.Length > 0 ? chapterCfg.name[0].ToString() : "";
|
|
|
_ui.m_txtChapterName1.text = chapterCfg.name.Length > 1 ? chapterCfg.name[1].ToString() : "";
|
|
|
_ui.m_txtChapterName2.text = chapterCfg.name.Length > 2 ? chapterCfg.name[2].ToString() : "";
|
|
@@ -128,7 +130,7 @@ namespace GFGGame
|
|
|
UpdateBonusBoxName(_ui.m_bonusBox2, "" + chapterCfg.bonusStar2);
|
|
|
UpdateBonusBoxName(_ui.m_bonusBox3, "" + chapterCfg.bonusStar3);
|
|
|
UpdateBonusBox();
|
|
|
-
|
|
|
+ ET.Log.Debug("zoya222");
|
|
|
var list = StoryLevelCfgArray.Instance.GetCfgsBytypeAndsubTypeAndchapterId(chapterCfg.type, chapterCfg.subType, chapterCfg.id);
|
|
|
int endLevel = 0;
|
|
|
int UnlockCount = 0;
|
|
@@ -203,8 +205,9 @@ namespace GFGGame
|
|
|
}
|
|
|
UI_CompStoryLevelItem.ProxyEnd();
|
|
|
}
|
|
|
+ ET.Log.Debug("zoya333");
|
|
|
yield return new WaitForEndOfFrame();
|
|
|
-
|
|
|
+ ET.Log.Debug("zoya444");
|
|
|
_ui.m_chapter.m_compChapterScroll.target.y = Mathf.Max(0, _ui.m_chapter.target.height - _ui.m_chapter.m_compChapterScroll.target.height);
|
|
|
|
|
|
}
|