#if ENABLE_UIELEMENTS_MODULE && UNITY_ENABLE_CHECKS #define ENABLE_RENDERING_DEBUGGER_UI #endif using System; #if UNITY_EDITOR using UnityEditor; #endif #if ENABLE_RENDERING_DEBUGGER_UI using UnityEngine.UIElements; #endif namespace UnityEngine.Rendering { public partial class DebugUI { // Root panel class - we don't want to extend Container here because we need a clear // separation between debug panels and actual widgets /// /// Root panel class. /// public class Panel : IContainer, IComparable { #if ENABLE_RENDERING_DEBUGGER_UI private VisualElement m_HelpButton; /// public VisualElement Create(DebugUI.Context context) { VisualElement container = new GroupBox() { text = displayName, name = displayName + "_Content" }; var label = container.Q