#if UNITY_2022_2_OR_NEWER using System; using System.Collections; using System.Collections.Generic; using UnityEditor.AddressableAssets.Build.Layout; using UnityEditor.AddressableAssets.GUIElements; using UnityEngine; using UnityEngine.UIElements; namespace UnityEditor.AddressableAssets.BuildReportVisualizer { class DetailsContentView { protected VisualTreeAsset m_DetailsContentDrillableListItem; protected List m_ContentItems; protected Label m_ActiveContentsName; protected ListView m_ContentItemsListView; BuildReportWindow m_Window; protected VisualElement m_ContentsPane; protected Image m_ActiveContentIcon; VisualElement m_Toolbar; ContextualMenuManipulator contextMenuManipulator; const float m_ItemHeight = 24f; RibbonButton m_RefToButton; RibbonButton m_RefByButton; Button m_BackButton; protected Dictionary> m_ButtonCallBackTracker = new Dictionary>(); public DetailsContentView(VisualElement root, BuildReportWindow window) { m_Window = window; m_ContentsPane = root.Q(BuildReportUtility.DetailsContentsList); m_ActiveContentsName = root.Q