private static void DestroyInstance()
        {
            if (instance is null)
            {
                return;
            }

            ((Panel)instance.Parent).Children.Remove(instance);
            instance = null;
        }
        private static void CreateInstance()
        {
            if (instance is not null)
            {
                return;
            }

            instance = new DebugToolsOverlay();
            Api.Client.UI.LayoutRootChildren.Add(instance);
            Panel.SetZIndex(instance, 1000);
        }