private void DrawManifestInfo() { EditorGUIExtensions.DrawHeader("Android Manifest Settings"); if (ManifestUtility.HasManifest()) { DrawIsDebuggable(); } else { EditorGUILayout.HelpBox("AndroidManifest.xml doesn't exist.", MessageType.Warning); } }
private void DrawIsDebuggable() { EditorGUI.BeginChangeCheck(); var debuggable = EditorGUILayout.Toggle("Is debuggable", ManifestUtility.IsDebuggable()); if (EditorGUI.EndChangeCheck()) { ManifestUtility.SetDebuggableValue(debuggable); } if (_settings.SelectedPreferences.android.manifestPreferences.debuggable != debuggable && EditorGUIExtensions.DrawFixHelpBox("Is debuggable is incorrect")) { ManifestUtility.SetDebuggableValue(_settings.SelectedPreferences.android.manifestPreferences.debuggable); } }