Merge branch 'main' of ssh://github.com/LiuOcean/YooAsset

This commit is contained in:
L
2022-04-26 19:41:12 +08:00
4 changed files with 14 additions and 146 deletions

View File

@@ -197,8 +197,9 @@ namespace YooAsset.Editor
/// 获取加密类的类型列表
/// </summary>
private List<Type> GetEncryptionServicesClassTypes()
{
List<Type> classTypes = AssemblyUtility.GetAssignableTypes(AssemblyUtility.UnityDefaultAssemblyEditorName, typeof(IEncryptionServices));
{
TypeCache.TypeCollection collection = TypeCache.GetTypesDerivedFrom<IEncryptionServices>();
List<Type> classTypes = collection.ToList();
return classTypes;
}