RandomGFGoStop/Assets/Scripts/UI/Popup/TestPopup.cs

38 lines
633 B
C#
Raw Normal View History

2025-08-27 21:08:17 +00:00
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
public class TestPopup : MonoBehaviour
{
public bool IsTest = true;
public string testText = "";
public TextMeshProUGUI text = null;
private void Awake()
{
if(text != null)
{
text.text = testText;
}
}
public void ClickClose()
{
Destroy(gameObject);
}
public void ClickTest()
{
//GameManager.ADS.InitADSManager(IsTest);
//Destroy(gameObject);
if (text != null)
{
text.text = testText;
}
}
}