Exemple #1
0
 public override void Load(LoaderManager _loader)
 {
     mPathName     = _loader.GetResourcesDataPath(mAssetName);
     mAssetsBundle = Resources.Load(mPathName);
     if (mAssetsBundle == null)
     {
         DLog.LogError("ResourcesBundle打开文件失败,请检查资源是否存在-" + mPathName);
     }
     mAsset = mAssetsBundle;
     LoadEnd();
 }
Exemple #2
0
 public override void Load(LoaderManager _loader)
 {
     mPathName = _loader.GetResourcesDataPath(mAssetName);
     mReq      = Resources.LoadAsync(mPathName);
     base.Load(_loader);
 }