using UnityEngine;
using UnityEngine.UI;

public sealed class PurchaseInfomationDialog : MonoBehaviour {

    [SerializeField]
    private Text titleText = default;
    [SerializeField]
    private Text explanationText = default;

    public void OnUpdateInfomation(string title, string explanation){
        gameObject.SetActive(true);
        titleText.text = title;
        explanationText.text = explanation;
    }
}
