26 lines
798 B
C#
26 lines
798 B
C#
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 = "축하합니다!!\n새로운 앨범이 오픈되었습니다.";
|
|
StartCoroutine(Co_Off());
|
|
}
|
|
|
|
IEnumerator Co_Off()
|
|
{
|
|
yield return new WaitForSeconds(2.5f);
|
|
GameManager.UI.HideTopPopup();
|
|
}
|
|
} |