You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

32 lines
623 B

using UnityEngine;
using TMPro;
public class NoInternetDialog : BaseDialog
{
[SerializeField] TextMeshProUGUI m_headerText;
[SerializeField] TextMeshProUGUI m_infoText;
void Start ()
{
m_type = DialogType.NO_INTERNET;
}
public void Init()
{
InitTexts();
}
private void InitTexts()
{
if (m_headerText)
m_headerText.text = GlobalsVar.gGameTextMng.GetGameText(51).ToUpper();
if (m_infoText)
m_infoText.text = GlobalsVar.gGameTextMng.GetGameText(52);
}
public override void Update ()
{
base.Update();
}
}