fix: make GamepadDeadzone/Sensitivity/WindowMode/Resolution setters public
This commit is contained in:
@@ -7,10 +7,10 @@ public partial class SettingsManager : Node
|
|||||||
{
|
{
|
||||||
public static SettingsManager Instance { get; private set; }
|
public static SettingsManager Instance { get; private set; }
|
||||||
|
|
||||||
public float GamepadDeadzone { get; private set; } = 0.2f;
|
public float GamepadDeadzone { get; set; } = 0.2f;
|
||||||
public float GamepadSensitivity { get; private set; } = 1.0f;
|
public float GamepadSensitivity { get; set; } = 1.0f;
|
||||||
public string WindowMode { get; private set; } = "fullscreen";
|
public string WindowMode { get; set; } = "fullscreen";
|
||||||
public Vector2I Resolution { get; private set; } = new Vector2I(1920, 1080);
|
public Vector2I Resolution { get; set; } = new Vector2I(1920, 1080);
|
||||||
|
|
||||||
private static readonly List<Vector2I> CuratedResolutions = new()
|
private static readonly List<Vector2I> CuratedResolutions = new()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user