add updatelog

master
zc 2025-07-30 08:24:03 +08:00
parent 05f9f3d4dc
commit dc4e465183
3 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: bdc0fc1a250d42af9d5742ca9373dfee
timeCreated: 1752802595

View File

@ -0,0 +1,20 @@
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;
}
}
}

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: cb95e6d895e1415aaa14fa6be814eb27
timeCreated: 1752802640