21 lines
544 B
C#
21 lines
544 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
using System.IO;
|
|
using Cysharp.Threading.Tasks;
|
|
namespace BITKit
|
|
{
|
|
public class AutoExec : Exec
|
|
{
|
|
public string path;
|
|
public override FileInfo[] GetFiles()
|
|
{
|
|
var path = Utility.Path.Get(this.path);
|
|
DirectoryInfo directoryInfo = new(path);
|
|
BIT4Log.Log<AutoExec>($"正在读取配置文件:{path}");
|
|
directoryInfo.Create();
|
|
return directoryInfo.GetFiles();
|
|
}
|
|
}
|
|
} |