Weather API
ChangeWeatherWithTransition
Changes UniStorm's weather, regardless of conditions, with the transition speed to the weather type parameter.
UniStorm.UniStormManager.Instance.ChangeWeatherWithTransition(UniStorm.WeatherType weatherType);ChangeWeatherInstantly
Changes UniStorm's weather instantly, regardless of conditions, to the weather type parameter.
UniStorm.UniStormManager.Instance.ChangeWeatherInstantly(WeatherType weatherType);RandomWeather
Generates a random weather type, regardless of conditions, from UniStorm's All Weather Type list
UniStorm.UniStormManager.Instance.RandomWeather();CurrentWeatherType
Get the name of the current weather type
string CurrentWeatherTypeName = UniStorm.UniStormSystem.Instance.CurrentWeatherType.WeatherTypeName;GetWeatherForecastName
Gets the forecasted weather type's name
GetWeatherForecastHour
Gets the hour that the forecasted weather will change
ChangeWeatherEffectsState
Disables or enables all UniStorm particle effects depending on the ActiveState bool, but does not affect their emission amount.
ChangeWeatherSoundsState
Disables or enables all UniStorm weather sounds depending on the ActiveState bool, but does not affect their current volume.
Temperature
Get the current UniStorm temperature
CurrentSeason
Get the current season
ChangeMoonPhaseColor
Changes UniStorm's moon phase color. The updated color will be applied at noon when UniStorm's moon is updated.
Last updated