Unity
cmd에서 유니티 에디터 실행시키는법
기억해조
2022. 9. 15. 16:10
"C:\Program Files\Unity\Hub\Editor\<version>\Editor\Unity.exe" -projectPath "<project path>"
ex) C:\Program Files\Unity\Hub\Editor\2020.3.28f1\Editor\Unity.exe -projectPath "D:\MMPSTREAMING\Tool\MMP_AutoTool" "MyArgu_1" "MyArgu_2"
어규먼트 전달가능( "MyArgu_1" "MyArgu_2"처럼..)
*파일에 접근 후 exe파일 실행필요..
cd C:\Program Files\Unity\Hub\Editor\2020.3.28f1\Editor\
Unity.exe -projectPath "D:\MMPSTREAMING\Tool\MMP_AutoTool" "MyArgu_1" "MyArgu_2"
출처
https://docs.unity3d.com/2020.3/Documentation/Manual/EditorCommandLineArguments.html