ThunderAndLightningScript Fields |
The ThunderAndLightningScript type exposes the following members.
Name | Description | |
---|---|---|
BaseLightRange | Base point light range for lightning bolts. Increases as intensity increases. | |
Camera | Camera where the lightning should be centered over. Defaults to main camera. | |
CloudLightningChance | The chance lightning will simply be in the clouds with no visible bolt | |
LightningAlwaysVisible | Whether lightning strikes should always try to be in the camera view | |
LightningBoltScript | Lightning bolt script - optional, leave null if you don't want lightning bolts | |
LightningIntenseProbability | Probability (0-1) of an intense lightning bolt that hits really close. Intense lightning has increased brightness and louder thunder compared to normal lightning, and the thunder sounds plays a lot sooner. | |
LightningIntervalTimeRange | Random interval between strikes. | |
LightningYStart | Starting y value for the lightning strikes | |
ModifySkyboxExposure | Whether to modify the skybox exposure when lightning is created | |
ThunderSoundsIntense | Sounds to play for intense thunder. One will be chosen at random for each lightning strike. | |
ThunderSoundsNormal | Sounds to play for normal thunder. One will be chosen at random for each lightning strike. Depending on intensity, some normal lightning may not play a thunder sound. | |
VolumeMultiplier | Volume multiplier |