Sky&Weather

$9
Publisher Antipodean Games
File size 72.89MB
Number of files 49
Latest version 1.0.0
Latest release date 2024-04-10 11:40:20
First release date 2024-04-10 11:40:20
Supported Unity versions 2018.4.2 or higher

This first iteration concentrates on a thunderstorm using particle systems and animations with two simple scripts. To use the asset, simply drag and drop the “StormController” prefab from the “Prefab” folder into the Hierarchy and place the prefab at ground level at the centre of your terrain. This “StormController” prefab contains an “Instantiate” script that spawns the “ThunderStorm” prefab at the position of the “StormController” prefab. When the “StormController” prefab is selected and viewed in the Inspector, the “InstantiateStorm” script allows for an adjustable “Spawn Time” (when the first storm appears) and “Spawn Delay” (the time between one storm appearing and the next one appearing). The storm goes through a formation phase where the particle system clouds form and the sky becomes overcast through an animation. Various particle system lightning bolts are produced, as well as a rain particle system. Thunder and rain sounds are also initiated. The lightning, rain, and sounds are set to occur with an animation. Eventually the lightning and rain stop and the clouds disperse. The “ThunderStorm” prefab has a “DestroyStorm” script attached to it so that the prefab is cleared from the Hierarchy once the storm is finished. The example scene called “StormScene” can be found in the “Scenes” folder. This “StormScene” also has a simple animated day/night system. The storm is set to occur in the afternoon, and finishes just before the sun sets. The sunlight is also animated to dim during the storm. Example prefabs of day/night system, sky, clouds, rain and lightning bolts are also included if you wish to build your own weather systems.

Top Publisher Assets