BAT
注意不能写空格
时间 set h1=%time:~0,2% set m1=%time:~3,2% set s1=%time:~6,2%
标题 title XXXXX,Time: %h1%:%m1%:%s1%
删除 rd XX\XX /s /q
设置变量 set unity="C:\Unity\Editor\Unity.exe
启动unity方法 %unity% -batchmode -projectPath %projectClient% -excuteMethod XXX.XX(类.方法) -参数 -logFile ./Log/log.txt
躺过的坑
Unity在Editor模式加载AssetBundle报错闪退,报[Position out of bounds!] https://blog.csdn.net/u014528558/article/details/104432232 |