refactor: Update Unity to 2022.3.62
This commit is contained in:
@@ -17,7 +17,7 @@ namespace Cryville.Crtr.Browsing {
|
||||
public FileSystemEntry this[int index] { get { return _filteredItems[index]; } }
|
||||
IResourceMeta IResourceManager.this[int index] { get { return this[index]; } }
|
||||
|
||||
readonly List<string> _dirParts = new List<string>();
|
||||
readonly List<string> _dirParts = new();
|
||||
readonly IList<string> m_dirParts;
|
||||
public IList<string> CurrentDirectory { get { return m_dirParts; } }
|
||||
public int Count { get { return _filteredItems.Length; } }
|
||||
@@ -136,8 +136,7 @@ namespace Cryville.Crtr.Browsing {
|
||||
public IEnumerable<MetaProperty> Properties {
|
||||
get {
|
||||
yield return new MetaProperty("Name", _name);
|
||||
if (FileSystemInfo is FileInfo) {
|
||||
var file = (FileInfo)FileSystemInfo;
|
||||
if (FileSystemInfo is FileInfo file) {
|
||||
yield return new MetaProperty("Size", new Qualified<long>(file.Length, "B"));
|
||||
}
|
||||
yield return new MetaProperty("Write.Time", FileSystemInfo.LastWriteTime);
|
||||
|
Reference in New Issue
Block a user