21 lines
586 B
C#
21 lines
586 B
C#
using TMPro;
|
|
using UnityEngine;
|
|
|
|
public class Ingame_Maze : Ingame_DungeonBase
|
|
{
|
|
public TextMeshProUGUI[] texts; // 0 남은 몹 수
|
|
|
|
public override void Set_DungeonInfo(int maxMobCount)
|
|
{
|
|
base.Set_DungeonInfo(maxMobCount);
|
|
texts[0].text = maxMobCount.ToString();
|
|
}
|
|
|
|
public override void Add_MobCount(int mobid)
|
|
{
|
|
//var mobdata = table_monsterlist.Ins.Get_Data_orNull(mobid);
|
|
//Debug.Log(mobdata.e_MonsterType + " : " + mobdata.Get_Name());
|
|
++MobCount;
|
|
texts[0].text = (MaxMobCount - MobCount).ToString();
|
|
}
|
|
} |