在线时间:8:00-16:00
132-9538-2358
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
引用库:
using UnityEditor;
using System.IO;
方法函数:
AssetDatabase.Refresh(); Directory.CreateDirectory(TableReaderFolder); using (StreamWriter writer = File.CreateText(TableReaderFolder + "/"+gameObject.name+".csv")) { string csStr = "障碍物ID,x坐标,z坐标\n87,5,6"; writer.Write(csStr); } AssetDatabase.Refresh();
评论
请发表评论