Files
crtr/Assets/Cryville/Common/FileStringAttribute.cs
2022-09-30 17:32:21 +08:00

18 lines
274 B
C#

using System;
namespace Cryville.Common {
public class FileStringAttribute : Attribute {
private readonly string filter;
public string[] Filter {
get {
return filter.Split('|');
}
}
public FileStringAttribute(string ext) {
filter = ext;
}
}
}