Update Samples

pull/40/head
hevinci 2022-08-29 12:10:21 +08:00
parent 5bd444f9b3
commit ea99232d3b
2 changed files with 10 additions and 2 deletions

View File

@ -73,7 +73,7 @@ namespace YooAsset.Editor
{ {
foreach (var bundle in _changeList) foreach (var bundle in _changeList)
{ {
EditorGUILayout.LabelField($"{bundle.BundleName} | {(bundle.SizeBytes / 1024)}K"); EditorGUILayout.LabelField($"{bundle.BundleName} | {(bundle.FileSize / 1024)}K");
} }
} }
EditorGUILayout.EndScrollView(); EditorGUILayout.EndScrollView();
@ -117,7 +117,7 @@ namespace YooAsset.Editor
{ {
if (patchManifest1.TryGetPatchBundle(patchBundle2.BundleName, out PatchBundle patchBundle1)) if (patchManifest1.TryGetPatchBundle(patchBundle2.BundleName, out PatchBundle patchBundle1))
{ {
if (patchBundle2.Hash != patchBundle1.Hash) if (patchBundle2.FileHash != patchBundle1.FileHash)
{ {
changeList.Add(patchBundle2); changeList.Add(patchBundle2);
} }

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: d24eb65eaa261cf4cb16dafe7f09b4ba
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant: