コード例 #1
0
 /// <summary>
 /// 异步加载资源
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="assetbundlename"></param>
 /// <param name="assetname"></param>
 public void LoadAssetAsyn <T>(string assetbundlename, string assetname) where T : UnityEngine.Object
 {
     _resourceHelper?.LoadAssetAsyn <T>(assetbundlename, assetname, LoadAssetAsyncCallback);
 }