I switched my project from Standalone to Android and now I get this error:
Assets/NGUI/Scripts/Editor/UIAtlasMaker.cs(120,36): error CS0117: `UnityEditor.PlayerSettings' does not contain a definition for `targetGlesGraphics'
#if UNITY_ANDROID || UNITY_IPHONE
if (PlayerSettings.targetGlesGraphics == TargetGlesGraphics.OpenGLES_1_x)
{
maxSize = Mathf.Min(maxSize, 1024);
}
else
{
maxSize = Mathf.Min(maxSize, NGUISettings.allow4096 ? 4096 : 2048);
}
#endif
It's also in UIPanelInspector line 185.
Commenting them out allows for export...