EditorTool3D/Assets/ZXL/Scripts/FileSystem/FileSystemInfo.cs

21 lines
507 B
C#

using System;
namespace ZXLT.FileSystem
{
public enum FileSystemInfoType
{
File,
Directory,
}
public abstract class FileSystemInfo
{
protected string _name;
protected string FullPath;
public DateTime CreationTime { get; }
public abstract bool Exists { get; }
public abstract string Name { get; }
public virtual string FullName => FullPath;
public abstract FileSystemInfoType FileSystemInfoType { get; }
}
}