Skip to content

Instantly share code, notes, and snippets.

@baobao
Created February 15, 2015 09:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save baobao/93d021399af6b0d92115 to your computer and use it in GitHub Desktop.
Save baobao/93d021399af6b0d92115 to your computer and use it in GitHub Desktop.
Unityで使用するDLLコンパイルShellスクリプト カレントディレクトリ内のファイルをコンパイルします。 参考 : http://docs-jp.unity3d.com/Documentation/Manual/UsingDLL.html
#!/bin/bash
appPath=/Applications/Unity4_5_5/Unity4_5_5.app
mcs -r:$appPath/Contents/Frameworks/Managed/UnityEngine.dll -target:library -out:$1.dll *.cs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment