Skip to content

Instantly share code, notes, and snippets.

@sehm
Created January 23, 2016 12:55
Show Gist options
  • Save sehm/d848ffb2dc754ed59ac9 to your computer and use it in GitHub Desktop.
Save sehm/d848ffb2dc754ed59ac9 to your computer and use it in GitHub Desktop.
Unity Editor スクリプト:ターゲットプラットフォームが iOS でないなら iOS にする
if( EditorUserBuildSettings.activeBuildTarget != BuildTarget.iPhone ){
EditorUserBuildSettings.SwitchActiveBuildTarget(BuildTarget.iPhone);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment