This commit is contained in:
MuHua-123
2025-06-17 10:53:45 +08:00
parent c6d9b71e95
commit 5374616980
87 changed files with 2265 additions and 1019 deletions
+44
View File
@@ -0,0 +1,44 @@
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System;
using System.Linq;
namespace MuHuaEditor {
[System.Serializable]
public class CollectionData {
public string fileGuid;
public string fileName;
public List<string> referenceGids = new List<string>();
public DateTime timeStamp;
}
[System.Serializable]
public class TypeDate {
public string guid;
public string fileName;
public DateTime timeStamp;
public List<string> typeFullName = new List<string>();
public string assemblly;
public void Add(Type addtype) {
assemblly = addtype.Assembly.FullName;
var typeName = addtype.FullName;
if (typeFullName.Contains(typeName) == false) {
typeFullName.Add(typeName);
}
}
public Type[] types {
get {
return typeFullName.Select(c => Type.GetType(c)).ToArray();
}
}
}
public interface IReferenceCollection {
void CollectionFiles();
void Init(List<CollectionData> refs);
}
}