âī¸TimeOfDayManager
General game-time & weather manager.
Properties:
Name
Type
Description
GameSecondsPerRealSecond
float
-
SecondsSinceMidnight
float
(0.0 to 86400.0)
OverrideSurfaceWetness
float
0.0 - disabled
RainChance
float
-
Weather
float
(0.0 to 2.0)
WeatherTarget
float
Same as Weather but smoother
WeatherRandomInterval
float
-
WindDirection
float
(0.0 to 360.0)
WindSpeed
float
-
WindSpeedTarget
float
Same as WindSpeed but smoother
Static Functions:
.IsAboutToRain
TimeOfDayManager.IsAboutToRain()
: boolean
.LockWeather
TimeOfDayManager.LockWeather(lock: boolean)
Argument
Type
Description
lock
boolean
-
Locks current weather and won't update its state.
Last updated