|
@@ -66,7 +66,6 @@ namespace GFGGame
|
|
|
{
|
|
|
base.OnShown();
|
|
|
gamey = GameObject.Find("Stage/GRoot/Window - FieldWorkLevelUI/ContentPane/CompChapter/Container/Container");
|
|
|
- objGuide = _ui.m_chapter.m_compChapterScroll.target.GetChild("g0").asCom;
|
|
|
_ui.m_Bg.url = ResPathUtil.GetBgImgPath("bg_tydc");
|
|
|
_ui.m_shopBtn.target.visible = false;
|
|
|
LevelList = CimbingTowerLevelCfgArray.Instance.dataArray;
|
|
@@ -119,6 +118,8 @@ namespace GFGGame
|
|
|
isPassCount++;
|
|
|
}
|
|
|
}
|
|
|
+ string ObjGuidename = "g" + isPassCount.ToString();
|
|
|
+ objGuide = _ui.m_chapter.m_compChapterScroll.target.GetChild(ObjGuidename).asCom;
|
|
|
float levelCount = CimbingTowerLevelCfgArray.Instance.dataArray.Length - isPassCount;
|
|
|
float height = _ui.m_chapter.target.height;
|
|
|
float value = levelCount / CimbingTowerLevelCfgArray.Instance.dataArray.Length;
|