Click or drag to resize

WeatherMakerScriptRaiseWeatherProfileChanged Method

Call whenever the weather profile needs to change, handles client/server, etc. If no networking or network server, this will perform the transition. WeatherProfileChanged will then be called.

Namespace:  DigitalRuby.WeatherMaker
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public void RaiseWeatherProfileChanged(
	WeatherMakerProfileScript oldProfile,
	WeatherMakerProfileScript newProfile,
	float transitionDuration,
	float holdDuration,
	bool forceTransition,
	string[] connectionIds
)

Parameters

oldProfile
Type: DigitalRuby.WeatherMakerWeatherMakerProfileScript
Old weather profile
newProfile
Type: DigitalRuby.WeatherMakerWeatherMakerProfileScript
New weather profile
transitionDuration
Type: SystemSingle
Transition duration
holdDuration
Type: SystemSingle
Hold duration
forceTransition
Type: SystemBoolean
True to force a transition, false otherwise. True means it was forced from a server or some other way.
connectionIds
Type: SystemString
Connection ids to send to (null for none or single player)
See Also