移动端测试
This commit is contained in:
@ -13,13 +13,17 @@ public class LogoController : MonoBehaviour
|
||||
LogoUpdate();
|
||||
}
|
||||
|
||||
void LogoUpdate() {
|
||||
GetComponent<Text>().text = File.ReadAllText(Application.streamingAssetsPath + "\\Data\\测试数据\\首页\\Logo.txt");
|
||||
void LogoUpdate()
|
||||
{
|
||||
WebRequsetTool.Inst.Get(Application.streamingAssetsPath + "\\Data\\测试数据\\首页\\Logo.txt", (str) =>
|
||||
{
|
||||
GetComponent<Text>().text = str;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
void Update()
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user