public void ReadSettings(IiOSBuildSettings buildSettings) { #if UNITY_5_4_OR_NEWER _developerTeamId = PlayerSettings.iOS.appleDeveloperTeamID; #endif // UNITY_5_4_OR_NEWER #if UNITY_5_5_OR_NEWER _automaticallySign = PlayerSettings.iOS.appleEnableAutomaticSigning; _profileId = PlayerSettings.iOS.iOSManualProvisioningProfileID; #endif // UNITY_5_5_OR_NEWER }
public virtual void ApplySettings(IiOSBuildSettings buildSettings) { #if UNITY_5_4_OR_NEWER PlayerSettings.iOS.appleDeveloperTeamID = _developerTeamId; #endif // UNITY_5_4_OR_NEWER #if UNITY_5_5_OR_NEWER PlayerSettings.iOS.appleEnableAutomaticSigning = _automaticallySign; if (!_automaticallySign) { PlayerSettings.iOS.iOSManualProvisioningProfileID = _profileId; } #endif // UNITY_5_5_OR_NEWER }
public virtual void DrawSetting(SerializedProperty settings, IiOSBuildSettings buildSettings) { EditorGUILayout.LabelField("Signing", EditorStyles.boldLabel); var spAutomaticallySign = settings.FindPropertyRelative(nameof(_automaticallySign)); EditorGUI.indentLevel++; { EditorGUILayout.PropertyField(spAutomaticallySign); EditorGUILayout.PropertyField(settings.FindPropertyRelative(nameof(_developerTeamId))); if (!spAutomaticallySign.boolValue) { EditorGUILayout.PropertyField(settings.FindPropertyRelative(nameof(_codeSignIdentity))); EditorGUILayout.PropertyField(settings.FindPropertyRelative(nameof(_profileId))); EditorGUILayout.PropertyField(settings.FindPropertyRelative(nameof(_profileSpecifier))); } } EditorGUI.indentLevel--; }
public virtual void DrawSetting(SerializedProperty settings, IiOSBuildSettings buildSettings) { using (new EditorGUIExtensions.GroupScope("iOS Settings")) { // exportOptions.plist. EditorGUILayout.LabelField("exportOptions.plist Setting", EditorStyles.boldLabel); EditorGUI.indentLevel++; { var spGenerate = settings.FindPropertyRelative(nameof(_generateExportOptionPlist)); EditorGUILayout.PropertyField(spGenerate, new GUIContent("Generate Automatically")); if (spGenerate.boolValue) { EditorGUIExtensions.TextFieldWithTemplate(settings.FindPropertyRelative(nameof(_exportMethod)), s_AvailableExportMethods, false); EditorGUILayout.PropertyField(settings.FindPropertyRelative(nameof(_uploadBitcode))); EditorGUILayout.PropertyField(settings.FindPropertyRelative(nameof(_uploadSymbols))); } } EditorGUI.indentLevel--; } }
public virtual void DrawSetting(SerializedProperty settings, IiOSBuildSettings buildSettings) { EditorGUIExtensions.TextFieldWithTemplate(settings.FindPropertyRelative(nameof(_languages)), s_AvailableLanguages, true); }
public virtual void ApplySettings(IiOSBuildSettings buildSettings) { }
public virtual void ReadSettings(IiOSBuildSettings buildSettings) { }
public virtual void DrawSetting(SerializedProperty settings, IiOSBuildSettings buildSettings) { EditorGUIExtensions.FilePathField(settings.FindPropertyRelative(nameof(_entitlementsFile)), "Select entitlement file.", "", "entitlements"); }