Add area judge precision settings.
This commit is contained in:
@@ -5,6 +5,17 @@ using RangeAttribute = Cryville.Common.ComponentModel.RangeAttribute;
|
||||
|
||||
namespace Cryville.Crtr {
|
||||
public class Settings {
|
||||
[Category("gameplay")]
|
||||
[Range(0f, 10f)][Precision(1)]
|
||||
public int AreaJudgePrecision {
|
||||
get {
|
||||
return PlayerPrefs.GetInt("AreaJudgePrecision", 4);
|
||||
}
|
||||
set {
|
||||
PlayerPrefs.SetInt("AreaJudgePrecision", value);
|
||||
}
|
||||
}
|
||||
|
||||
[Category("graphics")]
|
||||
[LogarithmicScale][Range(0.01f, 20f)][Step(1f)][Precision(1e-2)]
|
||||
public float BackwardClippingDistance {
|
||||
|
Reference in New Issue
Block a user