15 lines
521 B
C#
15 lines
521 B
C#
|
|
using TMPro;
|
||
|
|
using UnityEngine;
|
||
|
|
|
||
|
|
public class DungeonInfo : MonoBehaviour
|
||
|
|
{
|
||
|
|
public TextMeshProUGUI[] texts; // 0 난이도, 1 던전 위치
|
||
|
|
public DungeonProcess m_DungeonProcess;
|
||
|
|
|
||
|
|
public void Set()
|
||
|
|
{
|
||
|
|
texts[0].text = table_localtext.Ins.Get_Text(210 + MyValue.m_MyStageData.m_Diff);
|
||
|
|
var worlddata = table_WorldMapConfig.Ins.Get_Data(MyValue.m_MyStageData.m_Chapter);
|
||
|
|
texts[1].text = $"{table_localtext.Ins.Get_Text(worlddata.n_StageName)} {MyValue.m_MyStageData.m_Stage}F";
|
||
|
|
}
|
||
|
|
}
|