Пример #1
0
 //异步加载text
 public void LoadTextAsync(string abName, string assetName, Action <TextAsset> callback)
 {
     HText.LoadAsync(abName, assetName, callback);
 }
Пример #2
0
 //协程加载text
 public AsyncRequest LoadTextCoRequest(string abName, string assetName)
 {
     return(HText.LoadCoRequest(abName, assetName));
 }
Пример #3
0
 //同步加载text
 public TextAsset LoadText(string abName, string assetName)
 {
     return(HText.Load(abName, assetName));
 }