Files
ZHGD_Web/Assets/Script/Controller/LogoController.cs

30 lines
543 B
C#
Raw Normal View History

2025-07-13 23:16:20 +08:00
using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
using UnityEngine.UI;
public class LogoController : MonoBehaviour
{
void Start()
{
ChartDataUpdateController.Inst.ChartUpdateAction += LogoUpdate;
LogoUpdate();
}
2025-07-16 15:37:39 +08:00
void LogoUpdate()
{
WebRequsetTool.Inst.Get(Application.streamingAssetsPath + "\\Data\\测试数据\\首页\\Logo.txt", (str) =>
{
GetComponent<Text>().text = str;
});
2025-07-13 23:16:20 +08:00
}
void Update()
{
2025-07-16 15:37:39 +08:00
2025-07-13 23:16:20 +08:00
}
}