using System; using System.Collections; using System.Collections.Generic; using System.Linq; using Unity.HLODSystem.Streaming; using UnityEditor; using UnityEditor.PackageManager.UI; using UnityEditor.UIElements; using UnityEngine; using UnityEngine.PlayerLoop; using UnityEngine.UIElements; namespace Unity.HLODSystem.DebugWindow { public class HLODItem : VisualElement, IDisposable { private static readonly string s_uxmlGuid = "a3d94d4fe01e43d4eb8f2fc24c533851"; private HLODDebugWindow m_window; private HLODItemData m_data; private ListView m_hierarchyView; private List m_hierarchyItems = new List(); private bool m_enableDebug; public HLODItem(HLODDebugWindow window) { var uxmlPath = AssetDatabase.GUIDToAssetPath(s_uxmlGuid); var template = AssetDatabase.LoadAssetAtPath(uxmlPath); var root = template.CloneTree(); Add(root); m_window = window; var ping = this.Q