Files
ZHGD_Web/Assets/Script/Controller/LogoController.cs
2025-07-13 23:16:20 +08:00

26 lines
493 B
C#

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();
}
void LogoUpdate() {
GetComponent<Text>().text = File.ReadAllText(Application.streamingAssetsPath + "\\Data\\测试数据\\首页\\Logo.txt");
}
void Update()
{
}
}