using System; using System.Collections.Generic; using Unity.Properties; using UnityEngine.UIElements; namespace UnityEditor.U2D.Tooling.Analyzer { [UxmlElement] partial class DataSourceList : VisualElement { const string k_Uxml = "Packages/com.unity.2d.tooling/Editor/Insider/AnalyzerWindow/DataSourceListItem/DataSourceList.uxml"; ListView m_DataSourceListView; VisualElement m_InfoBox; Label m_HintLabel; const string k_HintLabelText = "Control data source collection from a list of paths.\n\nUse the checkbox to toggle data collection for the individual data source.\n\nWhen enabled, you can fine-tune data collection by adding or removing paths."; const string k_HintLabelTextSingleItem = "Control data source collection from a list of paths.\n\nFine-tune data collection by adding or removing paths."; public DataSourceList() { AssetDatabase.LoadAssetAtPath(k_Uxml).CloneTree(this); m_DataSourceListView = this.Q("DataSourceListView"); m_InfoBox = this.Q("InfoBox"); m_HintLabel = this.Q