更改了文件结构
This commit is contained in:
16
Src/Unity/Scripts/Config/AutoExecFromPersistentData.cs
Normal file
16
Src/Unity/Scripts/Config/AutoExecFromPersistentData.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user