using System.Collections;
using System.Collections.Generic;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
using UnityEngine;
using TMPro;

public class Popup : MonoBehaviour {

	public bool activePlayTest;
    public bool canReturn = true;
    public TextMeshProUGUI messageMesh;


    public void SetMessageText(string text) {
        if (!messageMesh)
            return;

        messageMesh.SetText(text);
    }

    public void HidePopup() {
		gameObject.SetActive (false);
    }
}
