Skip to content

Instantly share code, notes, and snippets.

@desmondfernando
Created February 25, 2015 18:00
Show Gist options
  • Save desmondfernando/5f2187c52a79a3433f0b to your computer and use it in GitHub Desktop.
Save desmondfernando/5f2187c52a79a3433f0b to your computer and use it in GitHub Desktop.
CI Snippet to set scripting backend in Unity to build for 64-bit iOS support
#if UNITY_5
PlayerSettings.SetPropertyInt( "ScriptingBackend", (int)ScriptingImplementation.IL2CPP, BuildTargetGroup.iOS );
#else
PlayerSettings.SetPropertyInt( "ScriptingBackend", (int)ScriptingImplementation.IL2CPP, BuildTargetGroup.iPhone );
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment