WeatherMakerScript Fields |
The WeatherMakerScript type exposes the following members.
Name | Description | |
---|---|---|
AllowCameras | Cameras that render make should render with. Only cameras in this list are rendered. Defaults to main camera. The first object in the list is the primary camera, and is used to determine orthographic vs perspective setup, etc. | |
AllowCamerasNames | A set of names for allowed cameras, useful for plugins that clone or add custom cameras that you want to allow. Names must match exactly. | |
AllowCamerasNamesPartial | A set of names for allowed cameras, useful for plugins that clone or add custom cameras that you want to allow. Names can partially match. | |
AllowSceneCamera | Allow the scene camera to render Weather Maker. This can result in UI corruption due to Unity bugs, so turn off if you see UI corruption. | |
AutoFindMainCamera | Whether to auto-find all cameras tagged as MainCamera and add them to the AllowCameras list. Set to false if you don't need this or see any performance issue. | |
CameraType | Camera mode. This affects lighting, visual effects and more. Ensure this is set to the correct value for your game or app. | |
DawnBegin | Executes when the day/night cycle becomes dawn. Parameter is WeatherMakerDayNightCycleProfileScript. | |
DayBegin | Executes when the day/night cycle becomes day. Parameter is WeatherMakerDayNightCycleProfileScript. | |
DayChanged | Executes when the day/night cycle day changes. Parameter is DateTWeatherMakerDayNightCycleProfileScriptime. | |
DuskBegin | Executes when the day/night cycle becomes dusk. Parameter is WeatherMakerDayNightCycleProfileScript. | |
HourChanged | Executes when the day/night cycle hour changes. Parameter is WeatherMakerDayNightCycleProfileScript. | |
IntensityModifierDictionary |
Allows adding additional weather intensity modifiers by key. Note that setting any values in here will override the external intensity
on any built in weather maker particle system scripts.
| |
IsPermanent | Whether the prefab should exist forever. Set to false to have the prefab destroyed with the scene it is in. | |
MinuteChanged | Executes when the day/night cycle minute changes. Parameter is WeatherMakerDayNightCycleProfileScript. | |
MonthChanged | Executes when the day/night cycle month changes. Parameter is WeatherMakerDayNightCycleProfileScript. | |
NightBegin | Executes when the day/night cycle becomes night. Parameter is WeatherMakerDayNightCycleProfileScript. | |
ResourceContainer | Put all Weather Maker references in here including scriptable object profiles, sound files, textures, etc. Only these will be bundled and included in the final build. | |
SecondChanged | Executes when the day/night cycle second changes. Parameter is WeatherMakerDayNightCycleProfileScript. | |
SunriseBegin | Executes when the day/night cycle sunrise begins. Parameter is WeatherMakerDayNightCycleProfileScript. | |
SunriseEnd | Executes when the day/night cycle sunrise ends. Parameter is WeatherMakerDayNightCycleProfileScript. | |
SunsetBegin | Executes when the day/night cycle sunset begins. Parameter is WeatherMakerDayNightCycleProfileScript. | |
SunsetEnd | Executes when the day/night cycle sunset ends. Parameter is WeatherMakerDayNightCycleProfileScript. | |
WeatherProfileChanged | Executes when the weather profile changes for the local player. Parameter is WeatherMakerProfileScript. | |
WeatherZoneChanged | Executes when the weather zones changes for the local player. Parameter is WeatherMakerWeatherZoneScript. | |
YearChanged | Executes when the day/night cycle year changes. Parameter is WeatherMakerDayNightCycleProfileScript. |