2023-06-05 19:57:17 +08:00
|
|
|
using System.Collections;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using UnityEngine;
|
2023-06-29 14:57:11 +08:00
|
|
|
|
2023-06-05 19:57:17 +08:00
|
|
|
using System.IO;
|
2023-06-29 14:57:11 +08:00
|
|
|
using UnityEditor;
|
|
|
|
|
2023-06-05 19:57:17 +08:00
|
|
|
namespace BITKit
|
|
|
|
{
|
|
|
|
public class ReadFile : MonoBehaviour
|
|
|
|
{
|
|
|
|
public string path;
|
|
|
|
public Provider output;
|
|
|
|
public void Excute()
|
|
|
|
{
|
|
|
|
output.Set(File.ReadAllText(path));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|