Project_WL/Assets/Script/UI/Center/Mission/Mission_Achi.cs

23 lines
682 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Mission_Achi : ScrollViewArrMgr
{
int Chapter = 0;
private void OnEnable()
{
// TODO 정인호 : 맵이 바껴서 미션 구조도 바껴야 함
//Set_ScrollView(0, table_stage.Ins.Get_ChapterDataList(1, true));
//Set_UI(Chapter);
}
public void Set_UI(int _chapter)
{
Chapter = _chapter;
dic_cardbase[0].ForEach(f => (f as ChapterTabCard).Set_OnOff(Chapter));
Set_ScrollView(1, table_achievementsmission.Ins.Get_DataList(Chapter), true);
Set_Coroutine(() => { Reset_Pos(1, true); }, Time.deltaTime);
}
}