using System; using UnityEngine.UIElements; namespace UnityEditor.U2D.Tooling.Analyzer.UIElement { class CommonSpriteAtlasIssueView : VisualElement { const string k_Uxml = "Packages/com.unity.2d.tooling/Editor/Insider/SpriteAtlas/SpriteAtlasIssueReport/UIElement/CommonSpriteAtlasIssueView/CommonSpriteAtlasIssueView.uxml"; SpriteAtlasReportTable m_Table; Label m_NoDataLabel; public CommonSpriteAtlasIssueView() { var tree = AssetDatabase.LoadAssetAtPath(k_Uxml); tree.CloneTree(this); InitView(); if (EditorGUIUtility.isProSkin) AddToClassList("dark"); } void InitView() { m_Table = this.Q(); m_NoDataLabel = this.Q