|
@@ -8,7 +8,7 @@ using ET;
|
|
|
|
|
|
namespace GFGGame
|
|
|
{
|
|
|
- public class StoryChapterView : BaseView
|
|
|
+ public class StoryChapterView : BaseWindow
|
|
|
{
|
|
|
private UI_StoryChapterUI _ui;
|
|
|
private int _chapterID;
|
|
@@ -350,7 +350,9 @@ namespace GFGGame
|
|
|
yield return new WaitForEndOfFrame();
|
|
|
|
|
|
_ui.m_chapter.m_compChapterScroll.target.y =Mathf.Max(1 , _ui.m_chapter.target.height - _ui.m_chapter.m_compChapterScroll.target.height);
|
|
|
- gamey.transform.position = new Vector3(0, indexY, 0);
|
|
|
+
|
|
|
+ if(gamey != null)
|
|
|
+ gamey.transform.position = new Vector3(0, indexY, 0);
|
|
|
}
|
|
|
|
|
|
private void SetContainerY(object param = null)
|