update init检测

mlyDev 1.4.16.1
Nocye 2023-06-20 21:15:03 +08:00
parent 92cba88853
commit 374feaf82d
1 changed files with 2 additions and 0 deletions

View File

@ -844,6 +844,7 @@ namespace YooAsset
public long GetCachedTagsRawFileSize(string[] tags) public long GetCachedTagsRawFileSize(string[] tags)
{ {
DebugCheckInitialize();
var list = _playModeServices.GetCachedTagsRawFiles(tags); var list = _playModeServices.GetCachedTagsRawFiles(tags);
long size = 0; long size = 0;
for (var i = 0; i < list.Count; i++) for (var i = 0; i < list.Count; i++)
@ -855,6 +856,7 @@ namespace YooAsset
internal List<PackageBundle> GetCachedTagsRawFiles(string[] tags) internal List<PackageBundle> GetCachedTagsRawFiles(string[] tags)
{ {
DebugCheckInitialize();
return _playModeServices.GetCachedTagsRawFiles(tags); return _playModeServices.GetCachedTagsRawFiles(tags);
} }
public ClearTagsCachedRawFilesOperation ClearTagsCacheFilesAsync(string[] tags) public ClearTagsCachedRawFilesOperation ClearTagsCacheFilesAsync(string[] tags)