-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathSettings.cs
39 lines (29 loc) · 962 Bytes
/
Settings.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
using UnityModManagerNet;
namespace DVPathTracer
{
public class Settings : UnityModManager.ModSettings, IDrawable
{
public string version;
[Draw("Report rate (seconds per report)", Min = 1f)]
public float logRate = 5f;
[Draw("Trace freight/passenger cars")]
public bool trackFreight = true;
[Draw("Record speed in mph (default: km/h)")]
public bool mph = false;
[Draw("Active")]
public bool isActive = true;
[Draw("Prevent activation on startup")]
public bool forceStartInactive = false;
[Draw("Save each session to a new file")]
public bool useSystemTime = true;
[Draw("Verbose tracing (requires restart)")]
public bool verboseTracing = false;
override public void Save(UnityModManager.ModEntry entry)
{
Save(this, entry);
}
public void OnChange()
{
}
}
}