private void OnGUIModel() { EditorGUILayout.LabelField("Model Report"); EditorGUILayout.BeginHorizontal(); EditorGUILayout.LabelField("", GUILayout.Width(Space)); if (GUILayout.Button("Report", GUILayout.Width(100))) { SaveExcludeList(); ModelReporter.CreateReport(excludeList); ModelReporter.OpenReport(); } if (GUILayout.Button("Open", GUILayout.Width(100))) { ModelReporter.OpenReport(); } EditorGUILayout.EndHorizontal(); }
private void OnGUIModel() { EditorGUILayout.LabelField("Model Report"); EditorGUILayout.BeginHorizontal(); EditorGUILayout.LabelField("", GUILayout.Width(Space)); if (GUILayout.Button("Report", GUILayout.Width(100))) { SaveExcludeList(); AssetsReporterUtils.WriteReportLanguage(languages[this.selectLanguageIdx].languageCode); ModelReporter.CreateReport(excludeList); ModelReporter.OpenReport(); } if (GUILayout.Button("Open", GUILayout.Width(100))) { ModelReporter.OpenReport(); } EditorGUILayout.EndHorizontal(); }