Пример #1
0
 public PlayerPreferences()
 {
     Version = GameManager.VersionString;
     InitializedAsDefault = true;
     Video         = VideoPrefs.Default();
     Sound         = SoundPrefs.Default();
     Controls      = ControlPrefs.Default();
     Immersion     = ImmersionPrefs.Default();
     Accessibility = AccessibilityPrefs.Default();
     Mods          = ModPrefs.Default();
     CustomColors  = null;
     HideDialogs   = new HashSet <string> ();
 }
Пример #2
0
            public static ImmersionPrefs Default()
            {
                ImmersionPrefs prefs = new ImmersionPrefs();

                prefs.CrosshairGeneral      = 1.0f;
                prefs.CrosshairWhenInactive = 0.0f;
                prefs.WorldItemOverlay      = true;
                prefs.WorldItemHUD          = true;
                prefs.PathGlowIntensity     = 1.0f;
                prefs.SpecialObjectsOverlay = true;
                prefs.WalkingSpeed          = 1f;
                prefs.CameraSmoothing       = 0f;
                prefs.WorldItemHUDInCenter  = false;
                return(prefs);
            }