using System.Collections; using TMPro; using UnityEngine; using UnityEngine.U2D; public class TitleInfo : MonoBehaviour { [SerializeField] TextMeshProUGUI label_msg, t_ver; [SerializeField] GameObject go_LobbyUI; private void Awake() { go_LobbyUI.SetActive(false); } IEnumerator Start() { t_ver.text = DSUtil.Format("{0}({1})", Application.version, "E or G or O"); label_msg.text = "게임 데이터를 읽고 있습니다."; // 테이블 로딩 기다리기 while (!TableChecker.Ins.CheckAllLoad()) yield return null; // UI 아틀라스 로드 yield return AddrResourceMgr.Ins.LoadObjectSequential("MainUI/UIAtlas.spriteatlasv2", atlas => { UIAtlasMgr.Ins.Set(atlas); }); label_msg.text = "로비로 진입 중입니다."; yield return null; // 인앱 결제 정보 받아오기 //label_msg.text = table_localtext.Ins.Get_Text(3); yield return new WaitForSeconds(0.1f); gameObject.SetActive(false); go_LobbyUI.SetActive(true); } }