Add graphical offset global settings.

This commit is contained in:
2023-02-10 17:36:19 +08:00
parent ff410529b0
commit bb4ecfcd8c
2 changed files with 15 additions and 1 deletions

View File

@@ -61,6 +61,18 @@ namespace Cryville.Crtr {
}
}
[Category("gameplay")]
[Step(0.01f)]
[Precision(1e-3)]
public float GraphicalOffset {
get {
return PlayerPrefs.GetFloat("GraphicalOffset", 0);
}
set {
PlayerPrefs.SetFloat("GraphicalOffset", value);
}
}
[Browsable(false)]
public string LastRunVersion {
get {