update runtime code
重构了PersistentTools类
This commit is contained in:
+1
-2
@@ -41,8 +41,7 @@ namespace YooAsset
|
||||
{
|
||||
if (_downloader == null)
|
||||
{
|
||||
string fileName = YooAssetSettingsData.GetManifestBinaryFileName(_buildinPackageName, _buildinPackageVersion);
|
||||
string filePath = PersistentTools.MakeStreamingLoadPath(fileName);
|
||||
string filePath = PersistentTools.GetPersistent(_buildinPackageName).GetBuildinPackageManifestFilePath(_buildinPackageVersion);
|
||||
string url = PersistentTools.ConvertToWWWPath(filePath);
|
||||
_downloader = new UnityWebDataRequester();
|
||||
_downloader.SendRequest(url);
|
||||
|
||||
Reference in New Issue
Block a user