unity 命令行模式

/Applications/Unity/Unity.app/Contents/MacOS/Unity -batchmode -quit -nographics -projectPath “xxx” -logfile log.txt -executeMethod Test.TestXXX