添加缺失插件

This commit is contained in:
YXY
2026-03-03 18:24:17 +08:00
parent d43882c5cf
commit c979cd2a92
90 changed files with 5269 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
using System;
using System.Linq;
using UnityEngine;
namespace AssetUsageFinder {
[Serializable]
public class AssetDependencies {
public string[] DependencyGuids;
public string HashString;
[NonSerialized] Hash128 _hashCache;
public Hash128 DependencyHash {
get { return _hashCache.Equals(default(Hash128)) ? Hash128.Parse(HashString) : _hashCache; }
set {
_hashCache = value;
HashString = value.ToString();
}
}
public bool Contains(string guid) {
return DependencyGuids.Any(d => StringComparer.InvariantCultureIgnoreCase.Equals(guid, d));
}
}
}