Details
Add Weather Rain effect to your camera.
Add it to the Camera GameObject via the Components menu
CameraFilterPack > Weather > Rain
*without and with Camera Filter Pack Weather Rain
Property |
Range |
Default |
---|---|---|
Fade | 0f to 1f | 1f |
Intensity | 0f to 2f | 0.5f |
DirectionX | -0.25f to 0.25f | 0.120f |
Size | 0.4f to 2f | 1.5f |
Speed | 0f to 0.5f | 0.275f |
Distortion | 0f to 0.5f | 0.05f |
StormFlashOnOff | 0f to 1f | 1f |
Manipulate Weather Rain by script
Example:
// Drag and Drop your Camera GameObject
// with the Weather Rain component
// to your current script on the CamFX_Weather_Rain field
public CameraFilterPack_Atmosphere_Rain CamFX_Weather_Rain;
void Update()
{
CamFX_Weather_Rain.Fade = 1f;
}