Skip to content

Instantly share code, notes, and snippets.

@fum1h1ro
Created March 21, 2014 05:35
Show Gist options
  • Save fum1h1ro/9680136 to your computer and use it in GitHub Desktop.
Save fum1h1ro/9680136 to your computer and use it in GitHub Desktop.
Finderからプロジェクトを指定して起動したい
#!/bin/sh
cd `dirname ${0}`
UNITY_APP=/Applications/Unity/Unity.app/Contents/MacOS/Unity
PWD=`pwd`
$UNITY_APP -projectPath $PWD &
@fum1h1ro
Copy link
Author

上記のスクリプトを、Unityプロジェクトフォルダの一番トップ(Assetsフォルダと同じ位置)に置く。
コマンドラインから起動すると、それが含まれるフォルダをプロジェクトとして起動する。

Finderからダブルクリックで起動したい場合は、こちらを参照。
http://hseisyu.blogspot.jp/2010/10/linux-mac-finder.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment