浏览代码

Destroy process only if on MacOS

/pyrception-integration
leopoldo-zugasti 3 年前
当前提交
4727bed4
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. 6
      com.unity.perception/Editor/Pyrception/PyrceptionInstaller.cs

6
com.unity.perception/Editor/Pyrception/PyrceptionInstaller.cs


[MenuItem("Window/Pyrception/Run")]
static void RunPyrception()
{
#if UNITY_EDITOR_OSX
#endif
string path = Path.GetFullPath(Application.dataPath.Replace("/Assets", ""));
#if UNITY_EDITOR_WIN
string packagesPath = Path.GetFullPath(Application.dataPath.Replace("/Assets","/Library/PythonInstall/Scripts"));

EditorUtility.ClearProgressBar();
}
#if UNITY_EDITOR_OX
void OnDestroy()
{
KillProcess();

currentProcessId = -1;
}
}
#endif
/// <summary>
/// Executes command in cmd or console depending on system

正在加载...
取消
保存