Authored calendar-unit structure: the shape of in-game time
Source: addons/calendar_time/game_time/time_units/calendar_units.gd
Syntax
class CalendarUnits extends ResourceMembers
| Name | Kind | Summary |
|---|---|---|
seconds_per_minute | Property | This is the calendar-unit base of `TimeScale`. It defines how many seconds make a minute, hour, and day. Runtime pacing (the engine-to-game rate) is exposed separately by `ClockPacing`, while the current `GameCalendar` export remains the compatibility `TimeScale` resource. 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. |