Update Samples
parent
5bd444f9b3
commit
ea99232d3b
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: d24eb65eaa261cf4cb16dafe7f09b4ba
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
Loading…
Reference in New Issue