Skip to content
ct

Class

CalendarUnits

Generated GDScript class reference for CalendarTime.CalendarUnits.

Status
Current
Version
v2.0.4
Updated
2026-08-09

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 Resource

Members

NameKindSummary
seconds_per_minutePropertyThis 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_hourPropertyNumber of minutes in an hour.
hours_per_dayPropertyNumber of hours in a day.
seconds_per_hourPropertyReturns a single hour measured in seconds.
seconds_per_dayPropertyReturns a single day measured in seconds.