【AB加密】路径错误

dev_chengFeng
zhangshanxue 2021-12-02 23:49:12 +08:00
parent cfeedca679
commit 6b506a2482
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@ namespace ResMgr
string path = string.Format("LZMA/ResConfigs").ToLower() + ResConfig.ABExtName;
#endif
string fullPath = PathHelper.GetFullPath (path);
AssetBundle ab = GameLogic.MEncyptUtil.LoadAssetBundle(path, GameLogic.AppConst.EncyptKey, GameLogic.AppConst.EncyptBytesLength);
AssetBundle ab = GameLogic.MEncyptUtil.LoadAssetBundle(fullPath, GameLogic.AppConst.EncyptKey, GameLogic.AppConst.EncyptBytesLength);
ResPathConfig = ab.LoadAsset<ResourcePathConfig>("ResourcePathConfig");
ab.Unload(true);
}