ExcelEditor.cs 484 B

123456789101112131415161718192021
  1. using UnityEditor;
  2. using System.Diagnostics;
  3. namespace ET
  4. {
  5. public static class ExcelEditor
  6. {
  7. [MenuItem("ET/Excel/ExcelExporter")]
  8. public static void Run()
  9. {
  10. Process process = ProcessHelper.DotNet("./Packages/cn.etetet.excel/DotNet~/Exe/ET.ExcelExporter.dll", "./", true);
  11. UnityEngine.Debug.Log(process.StandardOutput.ReadToEnd());
  12. }
  13. public static void Init()
  14. {
  15. Run();
  16. }
  17. }
  18. }