void OnEnable()
    {
        PathField.text       = EnvPaths.GetInstalationPath();
        MapsPathField.text   = EnvPaths.GetMapsPath();
        BackupPathField.text = EnvPaths.GetBackupPath();

        PlayAs.value        = GetFaction();
        FogOfWar.isOn       = GetFogOfWar();
        Markers2D.isOn      = GetMarkers2D();
        HeightmapClamp.isOn = GetHeightmapClamp();

        UiScale.SetValue(GetUiScale());
        UiScaler.UpdateUiScale();
    }
 private void OnDisable()
 {
     UiScaler.UpdateUiScale();
 }