General game-time & weather manager.
GameSecondsPerRealSecond
float
-
SecondsSinceMidnight
(0.0 to 86400.0)
OverrideSurfaceWetness
0.0 - disabled
RainChance
Weather
(0.0 to 2.0)
WeatherTarget
Same as Weather but smoother
WeatherRandomInterval
WindDirection
(0.0 to 360.0)
WindSpeed
WindSpeedTarget
Same as WindSpeed but smoother
TimeOfDayManager.IsAboutToRain(): boolean
TimeOfDayManager.IsAboutToRain()
TimeOfDayManager.LockWeather(lock: boolean)
lock
boolean
Locks current weather and won't update its state.
Last updated 2 years ago