MyObject.cs 346 B

12345678910111213
  1. using UnityEngine;
  2. using System.IO;
  3. using System.Text;
  4. using UnityEditor;
  5. public class ScriptableObjectToExcelExporter
  6. {
  7. }
  8. // 使用方法示例
  9. // MyObject myObject = ... 从某处获取或创建MyObject实例
  10. // string filePath = "path/to/your/file.csv";
  11. // ScriptableObjectToExcelExporter.ExportScriptableObjectToExcel(myObject, filePath);