2021
04-27
04-27
Unity C#执行bat脚本的操作
我们先封装一下接口,如下,把EdtUtil.cs放置在Assets/Editor目录中//EdtUtil.csusingSystem;usingUnityEditor;usingUnityEngine;usingSystem.Collections.Generic;usingSystem.IO;usingSystem.Threading;usingSystem.Text;classEdtUtil{publicstaticSystem.Diagnostics.ProcessCreateShellExProcess(stringcmd,stringargs,stringworkingDir=""){varpStartInfo=newSystem.Diagnostics.Pr...
继续阅读 >