mirror of https://github.com/tuyoogame/YooAsset
fix #177
parent
ce7aefb744
commit
8457705807
|
@ -202,7 +202,7 @@ namespace YooAsset
|
||||||
return completedProvider.CreateHandle<AssetHandle>();
|
return completedProvider.CreateHandle<AssetHandle>();
|
||||||
}
|
}
|
||||||
|
|
||||||
string providerGUID = assetInfo.GUID;
|
string providerGUID = nameof(LoadAssetAsync) + assetInfo.GUID;
|
||||||
ProviderBase provider = TryGetProvider(providerGUID);
|
ProviderBase provider = TryGetProvider(providerGUID);
|
||||||
if (provider == null)
|
if (provider == null)
|
||||||
{
|
{
|
||||||
|
@ -230,7 +230,7 @@ namespace YooAsset
|
||||||
return completedProvider.CreateHandle<SubAssetsHandle>();
|
return completedProvider.CreateHandle<SubAssetsHandle>();
|
||||||
}
|
}
|
||||||
|
|
||||||
string providerGUID = assetInfo.GUID;
|
string providerGUID = nameof(LoadSubAssetsAsync) + assetInfo.GUID;
|
||||||
ProviderBase provider = TryGetProvider(providerGUID);
|
ProviderBase provider = TryGetProvider(providerGUID);
|
||||||
if (provider == null)
|
if (provider == null)
|
||||||
{
|
{
|
||||||
|
@ -258,7 +258,7 @@ namespace YooAsset
|
||||||
return completedProvider.CreateHandle<AllAssetsHandle>();
|
return completedProvider.CreateHandle<AllAssetsHandle>();
|
||||||
}
|
}
|
||||||
|
|
||||||
string providerGUID = assetInfo.GUID;
|
string providerGUID = nameof(LoadAllAssetsAsync) + assetInfo.GUID;
|
||||||
ProviderBase provider = TryGetProvider(providerGUID);
|
ProviderBase provider = TryGetProvider(providerGUID);
|
||||||
if (provider == null)
|
if (provider == null)
|
||||||
{
|
{
|
||||||
|
@ -286,7 +286,7 @@ namespace YooAsset
|
||||||
return completedProvider.CreateHandle<RawFileHandle>();
|
return completedProvider.CreateHandle<RawFileHandle>();
|
||||||
}
|
}
|
||||||
|
|
||||||
string providerGUID = assetInfo.GUID;
|
string providerGUID = nameof(LoadRawFileAsync) + assetInfo.GUID;
|
||||||
ProviderBase provider = TryGetProvider(providerGUID);
|
ProviderBase provider = TryGetProvider(providerGUID);
|
||||||
if (provider == null)
|
if (provider == null)
|
||||||
{
|
{
|
||||||
|
|
|
@ -33,9 +33,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