24 lines
791 B
C#
24 lines
791 B
C#
using TMPro;
|
|
using UnityEngine;
|
|
|
|
public class PreviewUIPopup : PopupBase
|
|
{
|
|
public TextMeshProUGUI[] texts; // 0 소지금, 1 레벨, 2 0점 X 0배, 3 고, 4 흔듦, 5 뻑
|
|
public TextMeshProUGUI[] texts_mission; // 0 메인 미션, 1 서브 미션
|
|
public TextMeshProUGUI[] texts_cardcount; // 0 광, 1 열끗, 2 띠, 3 피
|
|
public Transform tf_main, tf_sub, tf_gwang, tf_yulggeut, tf_ddee, tf_pee, tf_cards;
|
|
|
|
public override void ShowPopup(int drawOrder)
|
|
{
|
|
base.ShowPopup(drawOrder);
|
|
GameManager.Sound.PlaySFX(ESFXType.Open_Popup);
|
|
GameManager.ADS.HideBanner();
|
|
}
|
|
|
|
public void ClickCancel()
|
|
{
|
|
GameManager.Sound.PlaySFX(ESFXType.Button_Hit);
|
|
GameManager.UI.HideTopPopup();
|
|
GameManager.ADS.ShowBanner();
|
|
}
|
|
} |