Created
March 21, 2014 05:35
-
-
Save fum1h1ro/9680136 to your computer and use it in GitHub Desktop.
Finderからプロジェクトを指定して起動したい
This file contains hidden or 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/sh | |
cd `dirname ${0}` | |
UNITY_APP=/Applications/Unity/Unity.app/Contents/MacOS/Unity | |
PWD=`pwd` | |
$UNITY_APP -projectPath $PWD & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
上記のスクリプトを、Unityプロジェクトフォルダの一番トップ(Assetsフォルダと同じ位置)に置く。
コマンドラインから起動すると、それが含まれるフォルダをプロジェクトとして起動する。
Finderからダブルクリックで起動したい場合は、こちらを参照。
http://hseisyu.blogspot.jp/2010/10/linux-mac-finder.html