private void Start()
    {
        // Initialize the inspector
        inspector.Initialize();

        // Add listeners to the toggle events
        objectiveToggle.onValueChanged.AddListener(x =>
        {
            if (x)
            {
                GameManager.Instance.TurnObjectivePanelOn();
            }
            else
            {
                GameManager.Instance.TurnObjectivePanelOff();
            }
        });
        inspectorToggle.onValueChanged.AddListener(x =>
        {
            if (x)
            {
                inspector.OpenInspector();
            }
            else
            {
                inspector.CloseInspector();
            }
        });

        // Enable the toggle and invoke the event
        objectiveToggle.isOn = true;
        inspectorToggle.onValueChanged.Invoke(true);
        inspector.CloseInspector();
    }