【AB加密】路径错误
parent
cfeedca679
commit
6b506a2482
|
@ -180,7 +180,7 @@ namespace ResMgr
|
||||||
string path = string.Format("LZMA/ResConfigs").ToLower() + ResConfig.ABExtName;
|
string path = string.Format("LZMA/ResConfigs").ToLower() + ResConfig.ABExtName;
|
||||||
#endif
|
#endif
|
||||||
string fullPath = PathHelper.GetFullPath (path);
|
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");
|
ResPathConfig = ab.LoadAsset<ResourcePathConfig>("ResourcePathConfig");
|
||||||
ab.Unload(true);
|
ab.Unload(true);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue