FM/Assets/Scripts/Runtime/UI/UpdateLog/UpdateLog.cs

20 lines
440 B
C#

using System;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
namespace HK
{
public class UpdateLog: MonoBehaviour
{
string assetPath = Application.streamingAssetsPath;
private TMP_Text _text;
private Button btnClose;
private void Start()
{
var textAsset = ResourcesManager.Instance.Load<TextAsset>(assetPath);
_text.text = textAsset.text;
}
}
}