Last active
July 26, 2018 01:44
-
-
Save NNNIC/cd4753f844e280ec35b3b8650a087503 to your computer and use it in GitHub Desktop.
Unity start batch.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cd `dirname $0` | |
curdir=`pwd` | |
open -a /Applications/Unity2018.1.2/Unity.app --args -projectpath ${curdir}/unityproject | |
read a | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /d %~dp0 | |
if exist %~dp0unityProject goto :_open | |
start "" "%unitypath2018_2%" -createproject %~dp0unityProject | |
goto :eof | |
:_open | |
start "" "%unitypath2018_2%" -projectPath %~dp0unityProject | |
goto :eof |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment