Support addressable location
支持可寻址资源定位
This commit is contained in:
@@ -31,6 +31,10 @@ namespace YooAsset
|
||||
BundleInfo bundleInfo = new BundleInfo(bundleName);
|
||||
return bundleInfo;
|
||||
}
|
||||
string IBundleServices.ConvertAddress(string address)
|
||||
{
|
||||
throw new Exception($"Editor play mode not support addressable.");
|
||||
}
|
||||
string IBundleServices.GetBundleName(string assetPath)
|
||||
{
|
||||
return assetPath;
|
||||
|
||||
@@ -237,6 +237,10 @@ namespace YooAsset
|
||||
return bundleInfo;
|
||||
}
|
||||
}
|
||||
string IBundleServices.ConvertAddress(string address)
|
||||
{
|
||||
return LocalPatchManifest.ConvertAddress(address);
|
||||
}
|
||||
string IBundleServices.GetBundleName(string assetPath)
|
||||
{
|
||||
return LocalPatchManifest.GetBundleName(assetPath);
|
||||
|
||||
@@ -56,6 +56,10 @@ namespace YooAsset
|
||||
return bundleInfo;
|
||||
}
|
||||
}
|
||||
string IBundleServices.ConvertAddress(string address)
|
||||
{
|
||||
return AppPatchManifest.ConvertAddress(address);
|
||||
}
|
||||
string IBundleServices.GetBundleName(string assetPath)
|
||||
{
|
||||
return AppPatchManifest.GetBundleName(assetPath);
|
||||
|
||||
Reference in New Issue
Block a user