16 lines
429 B
C#
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();
|
||
|
}
|
||
|
}
|
||
|
}
|