示例#1
0
 //协程加载贴图
 public AsyncRequest LoadFontCoRequest(string abName, string assetName)
 {
     return(HFont.LoadCoRequest(abName, assetName));
 }
示例#2
0
 //异步加载字体
 public void LoadFontAsync(string abName, string assetName, Action <TMP_FontAsset> callback)
 {
     HFont.LoadAsync(abName, assetName, callback);
 }