WorldTimeController
Class in SurvivEngine.World namespace
Inherits from UnityEngine.MonoBehaviour
Implements SurvivEngine.Serialization.ISerializeDataParameters
Class in SurvivEngine.World namespace
Inherits from UnityEngine.MonoBehaviour
Implements SurvivEngine.Serialization.ISerializeDataParameters
World component that manages and sets the world time and day / night cycle.
Gets or sets the current day progress, normalized as a value from 0 to 1.
Read-Only
Whether or not the current time of day is considered night.
Read-Only
The length of a day in ticks.
Gets a string describing the current time of day.