EditorTool3D/Assets/ZXL/Scripts/Cache/MetaBase.cs

41 lines
649 B
C#
Raw Normal View History

2024-12-17 23:11:00 +08:00
using System;
using System.Collections.Generic;
namespace ZXL.Scripts.Cache
{
public static class Gen
{
private static int i = 0;
public static long GenID()
{
return DateTime.Now.Ticks + i++;
}
}
public enum MetaType
{
TextureImporter,
MaterialImporter,
ModelImporter,
TextScriptImporter,
}
public static class CacheManager
{
// Dictionary<long,>
}
public class MetaBase
{
public long guid = Gen.GenID();
}
class FileMeta : MetaBase
{
}
class FolderMeta : MetaBase
{
}
}