using UnityEngine; using UnityEngine.UIElements; using UnityEngine.Audio; using System.Collections.Generic; using System.Linq; using System; using System.Threading.Tasks; using OnlyScove.Scripts; using Hallucinate.Audio; using PrimeTween; namespace Hallucinate.UI { public class SettingsController : BaseUIController { private VisualElement _sidebar; private Label _tabTitle; private ScrollView _content; private Dictionary _tabButtons = new Dictionary(); private string _activeTab = "GENERAL"; // Advanced Mouse Metrics private Label _mouseMetricsLabel; // FPS State private bool _fpsVisible; // Hover Tracking for Arrow Key Slider Control private Slider _hoveredSlider; private Action _hoveredOnChanged; private float _sliderMin, _sliderMax; // Osu-style Volume Overlay private VisualElement _volumeOverlay; private Label _masterVolLabel; private float _masterVol = 80f; public override void Initialize(VisualElement uxmlRoot, UIManager manager) { base.Initialize(uxmlRoot, manager); _sidebar = root.Q("Sidebar"); _tabTitle = root.Q