Back to Browse

Control the Weather in Unity Games Using Enviro | #Unity #GameDev #Tutorial

7.1K views
Mar 28, 2021
13:32

How do you control the weather? In this video we look at how triggers and player interaction can trigger weather effects in Unity games using Enviro. At the end of the video you will know how to use the Enviro API to trigger weather changes in response to in game actions. Here will will use triggers and mouse events but the same technique can be used in any control method such as timelines, quest triggers or time of day progress. Enviro Sky and Weather on the Unity Asset Store https://bit.ly/UnityEnviro (affiliate link) 00:00 Intro 00:27 Setup a Trigger Event 00:52 Create a WeatherController script to handle OnTriggerEnter 02:53 Setting up the play object with a RigidBody and Collider 03:39 Testing the trigger event 03:50 Enviro API for changing the weather 05:25 Trigger Fog and Rain 06:28 Good practices to support your designers 09:55 Adding a Snow Cube 10:17 Click to change the weather 11:42 Lock the Cursor and provide a UI 12:35 Allow designers to configure behaviour 13:14 Outro Need free Unity assets? Here are some of the best: http://bit.ly/BestFreeUnityAssets And here's a bunch of good, but under $10, Unity assets: http://bit.ly/BestUnityAssetsUnder10 Don't forget to subscribe: http://bit.ly/WizardsCodeSubscribe Comments encouraged, including constructive criticism - help me improve. #madewithunity #unity3d #gamedev

Download

0 formats

No download links available.

Control the Weather in Unity Games Using Enviro | #Unity #GameDev #Tutorial | NatokHD