public override void OnGUI() { #if (UNITY_IOS || UNITY_TVOS) Settings(); #else EditorGUILayout.HelpBox("XCode Build Post-Process isn't avaliable on current platfrom", MessageType.Error); #endif Texture2D buildSettings_icon = SA_EditorAssets.GetTextureAtPath(ISD_Skin.ICONS_PATH + "BuildSettings.png"); using (new SA_WindowBlockWithIndent(new GUIContent("Build Properties", buildSettings_icon))) { foreach (var property in ISD_Settings.Instance.BuildProperties) { property.Value = SA_EditorGUILayout.StringValuePopup(property.Name, property.Value, property.Options); } EditorGUILayout.Space(); } Frameworks(); DrawEmbeddedBlock(); BuildFlags(); Languages(); CopyFilestoXCodeBuildPhasee(); ShellScriptsBuildPhasee(); Entitlements(); }
public static void BuildSettings() { SA_EditorGUILayout.Header("Build Settings"); foreach (var property in ISD_Settings.Instance.BuildProperties) { property.Value = SA_EditorGUILayout.StringValuePopup(property.Name, property.Value, property.Options); } }