pull/189/head
hevinci 2023-10-08 15:31:39 +08:00
parent ce7aefb744
commit 8457705807
2 changed files with 6 additions and 6 deletions

View File

@ -202,7 +202,7 @@ namespace YooAsset
return completedProvider.CreateHandle<AssetHandle>();
}
string providerGUID = assetInfo.GUID;
string providerGUID = nameof(LoadAssetAsync) + assetInfo.GUID;
ProviderBase provider = TryGetProvider(providerGUID);
if (provider == null)
{
@ -230,7 +230,7 @@ namespace YooAsset
return completedProvider.CreateHandle<SubAssetsHandle>();
}
string providerGUID = assetInfo.GUID;
string providerGUID = nameof(LoadSubAssetsAsync) + assetInfo.GUID;
ProviderBase provider = TryGetProvider(providerGUID);
if (provider == null)
{
@ -258,7 +258,7 @@ namespace YooAsset
return completedProvider.CreateHandle<AllAssetsHandle>();
}
string providerGUID = assetInfo.GUID;
string providerGUID = nameof(LoadAllAssetsAsync) + assetInfo.GUID;
ProviderBase provider = TryGetProvider(providerGUID);
if (provider == null)
{
@ -286,7 +286,7 @@ namespace YooAsset
return completedProvider.CreateHandle<RawFileHandle>();
}
string providerGUID = assetInfo.GUID;
string providerGUID = nameof(LoadRawFileAsync) + assetInfo.GUID;
ProviderBase provider = TryGetProvider(providerGUID);
if (provider == null)
{

View File

@ -33,9 +33,9 @@ namespace YooAsset
return _providerGUID;
if (AssetType == null)
_providerGUID = $"{AssetPath}[null]";
_providerGUID = $"[{AssetPath}][null]";
else
_providerGUID = $"{AssetPath}[{AssetType.Name}]";
_providerGUID = $"[{AssetPath}][{AssetType.Name}]";
return _providerGUID;
}
}