기억저장고

cmd에서 유니티 에디터 실행시키는법 본문

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

 

Unity - Manual: Unity Editor command line arguments

Unity Standalone Player command line arguments Unity Editor command line arguments Launching Unity On macOS, type the following into the Terminal to launch Unity: /Applications/Unity/Hub/Editor/ /Unity.app/Contents/MacOS/Unity -projectPath On Linux, type t

docs.unity3d.com

 

Comments