public bool MapAssetPath(string assetPath, out string assetbundleName, out string assetName)
 {
     try
     {
         return assetsPathMapping.MapAssetPath(assetPath, out assetbundleName, out assetName);
     }
     catch (Exception e)
     {
         assetbundleName = null;
         assetName = null;
         Logger.LogError(">>MapAssetPath Exception: {0}", e.Message);
         return false;
     }
 }
Пример #2
0
 public bool MapAssetPath(string assetPath, out string assetbundleName, out string assetName)
 {
     try
     {
         bool flag = assetsPathMapping.MapAssetPath(assetPath, out assetbundleName, out assetName);
         if (!flag)
         {
             flag = idpAssetsPathMapping.MapAssetPath(assetPath, out assetbundleName, out assetName);
         }
         return(flag);
     }
     catch (Exception e)
     {
         assetbundleName = null;
         assetName       = null;
         Logger.LogError(">>MapAssetPath Exception: {0}", e.Message);
         return(false);
     }
 }
 public bool MapAssetPath(string assetPath, out string assetbundleName, out string assetName)
 {
     return(assetsPathMapping.MapAssetPath(assetPath, out assetbundleName, out assetName));
 }