30 lines
543 B
C#
30 lines
543 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()
|
|
{
|
|
WebRequsetTool.Inst.Get(Application.streamingAssetsPath + "\\Data\\测试数据\\首页\\Logo.txt", (str) =>
|
|
{
|
|
GetComponent<Text>().text = str;
|
|
});
|
|
}
|
|
|
|
|
|
void Update()
|
|
{
|
|
|
|
}
|
|
}
|