25 lines
662 B
C#
25 lines
662 B
C#
namespace ET
|
|
{
|
|
public static class ToolsEditor
|
|
{
|
|
public static void ExcelExporter()
|
|
{
|
|
#if UNITY_EDITOR_OSX || UNITY_EDITOR_LINUX
|
|
const string tools = "./Tool";
|
|
#else
|
|
const string tools = ".\\Tool.exe";
|
|
#endif
|
|
ShellHelper.Run($"{tools} --AppType=ExcelExporter --Console=1", "../Bin/");
|
|
}
|
|
|
|
public static void Proto2CS()
|
|
{
|
|
#if UNITY_EDITOR_OSX || UNITY_EDITOR_LINUX
|
|
const string tools = "./Tool";
|
|
#else
|
|
const string tools = ".\\Tool.exe";
|
|
#endif
|
|
ShellHelper.Run($"{tools} --AppType=Proto2CS --Console=1", "../Bin/");
|
|
}
|
|
}
|
|
} |