Unity realtime log in command line (batchmode)
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.
On Windows:
unity_realtime_log.bat -unity C:\Unity\Unity.exe -project C:\UnityProjectPath -method GameEditor.BuildMethodOn Mac:
unity_realtime_log.sh -unity /Applications/Unity/Unity.app/Contents/MacOS/Unity -project ~/UnityProjectPath -method GameEditor.BuildMethodOr Python:
python unity.py -unity C:\Unity\Unity.exe -project C:\UnityProjectPath -method GameEditor.BuildMethod