mirror of
https://github.com/tuyoogame/YooAsset.git
synced 2026-05-25 02:00:16 +00:00
Add get asset info method.
增加获取资源信息的方法。
This commit is contained in:
@@ -82,7 +82,7 @@ namespace YooAsset
|
||||
}
|
||||
else
|
||||
{
|
||||
throw new Exception($"Invalid depend id : {dependID} Asset path : {assetPath}");
|
||||
throw new Exception($"Invalid bundle id : {dependID} Asset path : {assetPath}");
|
||||
}
|
||||
}
|
||||
return result.ToArray();
|
||||
@@ -109,7 +109,7 @@ namespace YooAsset
|
||||
}
|
||||
else
|
||||
{
|
||||
throw new Exception($"Invalid depend id : {bundleID} Asset path : {assetPath}");
|
||||
throw new Exception($"Invalid bundle id : {bundleID} Asset path : {assetPath}");
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -135,7 +135,7 @@ namespace YooAsset
|
||||
}
|
||||
else
|
||||
{
|
||||
throw new Exception($"Invalid depend id : {bundleID} Asset path : {patchAsset.AssetPath}");
|
||||
throw new Exception($"Invalid bundle id : {bundleID} Asset path : {patchAsset.AssetPath}");
|
||||
}
|
||||
}
|
||||
return string.Empty;
|
||||
|
||||
Reference in New Issue
Block a user