internal void OnHideSettings()
        {
            if (_settingsPanel != null)
            {
                var panel = _settingsPanel;

                _settingsPanel = null;

                SettingsPanelContainer.Children.Remove(panel);
            }
        }
        internal void OnShowSettings()
        {
            if (_settingsPanel == null)
            {
                SettingsPanel newPanel = new SettingsPanel();

                SettingsPanelContainer.Children.Add(newPanel);

                _settingsPanel = newPanel;
            }
        }