Authored calendar-unit structure: the shape of in-game time (issue #318). This is the calendar-unit half of the former combined TimeScale. It defines how many seconds make a minute, hour, and day. Runtime pacing (the engine to game rate) lives separately on ClockPacing. GameCalendar owns this.
Source: addons/calendar_time/game_time/time_units/calendar_units.gd
Syntax
class CalendarUnits extends ResourceMembers
| Name | Kind | Summary |
|---|---|---|
seconds_per_minute | Property | Number of seconds in a gameplay minute. |
minutes_per_hour | Property | Number of minutes in an hour. |
hours_per_day | Property | Number of hours in a day. |
seconds_per_hour | Property | Returns a single hour measured in seconds. |
seconds_per_day | Property | Returns a single day measured in seconds. |