using System; using System.Collections.Generic; using UnityEditor; using UnityEditor.UIElements; using UnityEngine.UIElements; namespace Module.ProjectValidator.Editor { internal sealed class EditorProjectValidatorWindow : EditorWindow { private VisualElement _groupWarnings; private Label _labelWarnings; private VisualElement _groupErrors; private Label _labelErrors; private MultiColumnTreeView _treeView; private string _searchFilter; private readonly List> _list = new(); private readonly List> _filteredList = new(); public void CreateGUI() { var root = rootVisualElement; var asset = EditorAssetUtility.LoadFirstAsset("UxmlEditorProjectValidatorWindow"); root.styleSheets.Add(EditorAssetUtility.LoadFirstAsset("StyleSheetEditorProjectValidatorWindow")); root.Add(asset.Instantiate()); _groupWarnings = root.Q("status-warnings"); _labelWarnings = _groupWarnings.Q