Project_WL/Assets/Script/UI/Map/MapChoiceCard_Portals.cs

15 lines
408 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MapChoiceCard_Portals : uScrollViewMgr
{
public void Set(BattleMapConfigTableData data)
{
var lst = new List<ChoiceMapData>();
for (int i = 0; i < data.n_Portals; i++)
lst.Add(new ChoiceMapData { n_MapID = data.n_MapID, n_PortalIndex = i });
Set_ScrollView(lst);
}
}