mirror of https://github.com/tuyoogame/YooAsset
fix #177
parent
45b016ae0f
commit
2630a7e793
|
@ -199,7 +199,7 @@ namespace YooAsset
|
||||||
return completedProvider.CreateHandle<AssetOperationHandle>();
|
return completedProvider.CreateHandle<AssetOperationHandle>();
|
||||||
}
|
}
|
||||||
|
|
||||||
string providerGUID = assetInfo.GUID;
|
string providerGUID = nameof(LoadAssetAsync) + assetInfo.GUID;
|
||||||
ProviderBase provider = TryGetProvider(providerGUID);
|
ProviderBase provider = TryGetProvider(providerGUID);
|
||||||
if (provider == null)
|
if (provider == null)
|
||||||
{
|
{
|
||||||
|
@ -227,7 +227,7 @@ namespace YooAsset
|
||||||
return completedProvider.CreateHandle<SubAssetsOperationHandle>();
|
return completedProvider.CreateHandle<SubAssetsOperationHandle>();
|
||||||
}
|
}
|
||||||
|
|
||||||
string providerGUID = assetInfo.GUID;
|
string providerGUID = nameof(LoadSubAssetsAsync) + assetInfo.GUID;
|
||||||
ProviderBase provider = TryGetProvider(providerGUID);
|
ProviderBase provider = TryGetProvider(providerGUID);
|
||||||
if (provider == null)
|
if (provider == null)
|
||||||
{
|
{
|
||||||
|
@ -255,7 +255,7 @@ namespace YooAsset
|
||||||
return completedProvider.CreateHandle<AllAssetsOperationHandle>();
|
return completedProvider.CreateHandle<AllAssetsOperationHandle>();
|
||||||
}
|
}
|
||||||
|
|
||||||
string providerGUID = assetInfo.GUID;
|
string providerGUID = nameof(LoadAllAssetsAsync) + assetInfo.GUID;
|
||||||
ProviderBase provider = TryGetProvider(providerGUID);
|
ProviderBase provider = TryGetProvider(providerGUID);
|
||||||
if (provider == null)
|
if (provider == null)
|
||||||
{
|
{
|
||||||
|
@ -283,7 +283,7 @@ namespace YooAsset
|
||||||
return completedProvider.CreateHandle<RawFileOperationHandle>();
|
return completedProvider.CreateHandle<RawFileOperationHandle>();
|
||||||
}
|
}
|
||||||
|
|
||||||
string providerGUID = assetInfo.GUID;
|
string providerGUID = nameof(LoadRawFileAsync) + assetInfo.GUID;
|
||||||
ProviderBase provider = TryGetProvider(providerGUID);
|
ProviderBase provider = TryGetProvider(providerGUID);
|
||||||
if (provider == null)
|
if (provider == null)
|
||||||
{
|
{
|
||||||
|
|
|
@ -28,9 +28,9 @@ namespace YooAsset
|
||||||
return _providerGUID;
|
return _providerGUID;
|
||||||
|
|
||||||
if (AssetType == null)
|
if (AssetType == null)
|
||||||
_providerGUID = $"{AssetPath}[null]";
|
_providerGUID = $"[{AssetPath}][null]";
|
||||||
else
|
else
|
||||||
_providerGUID = $"{AssetPath}[{AssetType.Name}]";
|
_providerGUID = $"[{AssetPath}][{AssetType.Name}]";
|
||||||
return _providerGUID;
|
return _providerGUID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue