rabidus-test/Assets/UIDisplayMessage.cs

18 lines
364 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class UIDisplayMessage : MonoBehaviour
{
[SerializeField]
private TMPro.TextMeshProUGUI _textField;
[SerializeField]
private UIProgressBar _progressBar;
public void Init(DisplayMessage info)
{
_textField.SetText(info.Message);
}
}