using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
public class ceshi : MonoBehaviour
{
string ss = "你是谁";
// Start is called before the first frame update
void Start()
{
//创建桌面文档
System.IO.File.WriteAllText(@"C:\Users\Administrator\Desktop\程序文档.txt",ss);
//获取桌面文档
ss=System.IO.File.ReadAllText(@"C:\Users\Administrator\Desktop\程序文档.txt");
Debug.Log(ss);
}
}
创建和获取桌面文档
最新推荐文章于 2024-02-22 13:11:49 发布