Files
iFactory.Cutting.Unity/Assets/BITKit/Unity/Scripts/Config/AutoExecFromPersistentData.cs
CortexCore fd39099061 init
2024-01-23 02:56:26 +08:00

16 lines
429 B
C#

using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
namespace BITKit
{
public class AutoExecFromPersistentData : Exec
{
public override FileInfo[] GetFiles()
{
var path = Utility.Path.persistentDataPath;
BIT4Log.Log<AutoExec>($"正在从{path}搜索配置文件");
return new DirectoryInfo(path).GetFiles();
}
}
}