Time Options
v4.0
public bool useAmPm = true; // When writing out the time
public bool monthDayYear = true; // If false, will do Day/Month/Year
[Range(0.5f, 100)] public float realTimeSecondsPerGameMinute = 3.0f; // Real-world seconds per in-game minute
[Range(1, 240)] public int secondsPerMinute = 6-; // In-game seconds per in-game minute
[Range(1, 240)] public int minutesPerHour = 60; // In-game minutes per in-game hour
[Range(1, 240)] public int hoursPerDay = 24; // In-game hours per in-game day
[Range(1, 240)] public int daysPerMonth = 30; // In-game days per in-game month
// You can specify the start time for your project in the Inspector as well
// The values should always be within the ranges you set.
public int startingYear = 1288;
public int startingMinute = 30;
public int startingHour = 9;
public int startingDay = 15;
public int startingMonth = 5;
// The number of days in a week, months in a year, and seasons in a year, are
// determined by the number of names in these lists.
public List<string> dayNames = new List<string>();
public List<string> monthNames = new List<string>();
public List<string> seasonNames = new List<string>();Last updated