2025-01-22 23:03:43 +00:00
|
|
|
using CodeStage.AntiCheat.ObscuredTypes;
|
|
|
|
|
using TMPro;
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
|
|
public class Ingame_DungeonBase : MonoBehaviour
|
|
|
|
|
{
|
|
|
|
|
public TextMeshProUGUI[] texts_base; // 0 던전&Lv, 1 남은 시간
|
|
|
|
|
|
|
|
|
|
ObscuredFloat m_Time;
|
|
|
|
|
|
|
|
|
|
public virtual void Set(float time)
|
|
|
|
|
{
|
|
|
|
|
gameObject.SetActive(true);
|
|
|
|
|
m_Time = time;
|
|
|
|
|
m_Time.RandomizeCryptoKey();
|
|
|
|
|
Set_TextTime();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void Set_TextTime() { texts_base[1].text = Mathf.Max(0f, m_Time).ToString("F2"); }
|
|
|
|
|
|
|
|
|
|
private void Update()
|
|
|
|
|
{
|
|
|
|
|
if (m_Time > 0f)
|
|
|
|
|
{
|
|
|
|
|
m_Time -= Time.deltaTime;
|
|
|
|
|
Set_TextTime();
|
|
|
|
|
if (m_Time <= 0f)
|
|
|
|
|
{
|
|
|
|
|
// 결과 화면
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2025-01-23 00:57:39 +00:00
|
|
|
|
|
|
|
|
public virtual void Set_MaxMobCount(int maxCount) { }
|
|
|
|
|
public virtual void Add_MobCount() { }
|
2025-01-22 23:03:43 +00:00
|
|
|
}
|