diff --git a/Assets/YooAsset/Samples~/Extension Sample/Scripts/Editor/PatchCompareWindow.cs b/Assets/YooAsset/Samples~/Extension Sample/Scripts/Editor/PatchCompareWindow.cs index 2ed5e78..e3c70e8 100644 --- a/Assets/YooAsset/Samples~/Extension Sample/Scripts/Editor/PatchCompareWindow.cs +++ b/Assets/YooAsset/Samples~/Extension Sample/Scripts/Editor/PatchCompareWindow.cs @@ -73,7 +73,7 @@ namespace YooAsset.Editor { foreach (var bundle in _changeList) { - EditorGUILayout.LabelField($"{bundle.BundleName} | {(bundle.SizeBytes / 1024)}K"); + EditorGUILayout.LabelField($"{bundle.BundleName} | {(bundle.FileSize / 1024)}K"); } } EditorGUILayout.EndScrollView(); @@ -117,7 +117,7 @@ namespace YooAsset.Editor { if (patchManifest1.TryGetPatchBundle(patchBundle2.BundleName, out PatchBundle patchBundle1)) { - if (patchBundle2.Hash != patchBundle1.Hash) + if (patchBundle2.FileHash != patchBundle1.FileHash) { changeList.Add(patchBundle2); } diff --git a/Assets/YooAsset/Samples~/UniTask Sample.meta b/Assets/YooAsset/Samples~/UniTask Sample.meta new file mode 100644 index 0000000..8fc9aa4 --- /dev/null +++ b/Assets/YooAsset/Samples~/UniTask Sample.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: d24eb65eaa261cf4cb16dafe7f09b4ba +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: