using System.Collections; using TMPro; using UnityEngine; public class AlbumOpenPopup : PopupBase { public TextMeshProUGUI t_; public override void ShowPopup(int drawOrder) { base.ShowPopup(drawOrder); GameManager.Sound.PlaySFX(ESFXType.Open_Popup); //var targetindex = GameManager.DB.GetUnlockTargetIndex(true) - 1; //DB_HuntingListData huntingListData = DB_HuntingListData.GetEntity(targetindex); //t_.text = $"축하합니다!!\n{huntingListData.DBF_Title} 앨범이 오픈되었습니다."; t_.text = "새로운 여친 앨범이 무료로 개방되었습니다."; StartCoroutine(Co_Off()); } IEnumerator Co_Off() { yield return new WaitForSeconds(2.5f); GameManager.UI.HideTopPopup(); } }