unity 文件操作常见方法(工具类)
using System.IO;
using System.Text;
///
///
public class FileTool
{
///
///
///
public static string ReadFileText(string path)
{
return File.ReadAllText(path, Encoding.UTF8);
}
///
///
///
///
public static byte[] ReadFileBytes(string path
共有 0 条评论