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
)
Public Sub RaiseWeatherProfileChanged (
oldProfile As WeatherMakerProfileScript,
newProfile As WeatherMakerProfileScript,
transitionDuration As Single,
holdDuration As Single,
forceTransition As Boolean,
connectionIds As String()
)
public:
void RaiseWeatherProfileChanged(
WeatherMakerProfileScript^ oldProfile,
WeatherMakerProfileScript^ newProfile,
float transitionDuration,
float holdDuration,
bool forceTransition,
array<String^>^ connectionIds
)
member RaiseWeatherProfileChanged :
oldProfile : WeatherMakerProfileScript *
newProfile : WeatherMakerProfileScript *
transitionDuration : float32 *
holdDuration : float32 *
forceTransition : bool *
connectionIds : string[] -> unit
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