drrr8991 / unity_realtime_log

Unity realtime log in command line (batchmode)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

unity-realtime-log

Unity realtime log in command line (batchmode)

Why this?

Unity commnad line batch mode has one problem,

It cannot print the log realtime.

So this Python script use subprocess and thread to call Unity batch mode and print the log realtime.

Use

On Windows:

unity_realtime_log.bat -unity C:\Unity\Unity.exe -project C:\UnityProjectPath -method GameEditor.BuildMethod

On Mac:

unity_realtime_log.sh -unity /Applications/Unity/Unity.app/Contents/MacOS/Unity -project ~/UnityProjectPath -method GameEditor.BuildMethod

Or Python:

python unity.py -unity C:\Unity\Unity.exe -project C:\UnityProjectPath -method GameEditor.BuildMethod

About

Unity realtime log in command line (batchmode)


Languages

Language:Python 98.2%Language:Batchfile 0.9%Language:Shell 0.9%