Skip to content
DEV505 / Sound ManagerDOCUMENTATION

DEV505 / START HERE

Weather in pictures.

Unity screenshots of Weather, with scene states, sound graphs, and steps to try.

05 / A little rain. Move from clear skies to a storm. Rain and wind use continuous layers; each lightning strike starts a separate thunder event at the strike position, with a short delay before the rumble.

These are real Unity captures with the scene’s own models, camera, and controls. Select a picture to enlarge it, or open Try this in Unity below it for the steps. The graph close views explain individual parts of the full graph.

All screenshot galleries · Read how to change sound parameters

Read the complete Weather walkthrough for controls, graph flow, and code.

Before the rain

The island is dry and the weather session is stopped. This gives a quiet starting point for comparison with the storm.
Weather in Unity: before the rain. The real scene controls and status readouts are visible.

The island is dry and the weather session is stopped. This gives a quiet starting point for comparison with the storm.

Try this in Unity
  1. In Unity’s Project window, open Assets/DEV505/SoundManager/Samples/05-Weather/Demo.unity. Enter Play Mode and click the Game view so it receives your keyboard input.
  2. Leave the skies clear without starting a weather session.

A full storm

The Storm preset has brought rain to 100% and wind to 85%. The demo changes the sound parameters and the scene's visual effects together.
Weather in Unity: a full storm. The real scene controls and status readouts are visible.

The Storm preset has brought rain to 100% and wind to 85%. The demo changes the sound parameters and the scene's visual effects together.

Try this in Unity
  1. In Unity’s Project window, open Assets/DEV505/SoundManager/Samples/05-Weather/Demo.unity. Enter Play Mode and click the Game view so it receives your keyboard input.
  2. Choose the Storm preset.
  3. Wait for rain to reach 100% and wind to reach 85%.

The first lightning flash

This is the actual flash, captured about 0.08 seconds after the strike. The demo creates the light and bolt immediately; the Thunder graph delays its sound. The HUD counter updates separately and still shows the previous count in this frame.
Weather in Unity: the first lightning flash. The real scene controls and status readouts are visible.

This is the actual flash, captured about 0.08 seconds after the strike. The demo creates the light and bolt immediately; the Thunder graph delays its sound. The HUD counter updates separately and still shows the previous count in this frame.

Try this in Unity
  1. In Unity’s Project window, open Assets/DEV505/SoundManager/Samples/05-Weather/Demo.unity. Enter Play Mode and click the Game view so it receives your keyboard input.
  2. Choose Storm and wait for the Thunder control to become available.
  3. Trigger Thunder and capture the first flash immediately. This frame was recorded about 0.08 seconds after the strike.

A graph connects blocks called nodes to control a sound. The Inspector holds the event’s playback settings. The pictures below show the saved graph and settings; a full graph is an overview, so use the close views to read smaller fields.

The Weather graph

Rain and wind have their own groups. Parameters shape continuous layers while the weather session is running.
Weather in Unity: the Weather graph. The graph nodes and their connections are visible.

Rain and wind have their own groups. Parameters shape continuous layers while the weather session is running.

Try this in Unity
  1. Exit Play Mode.
  2. In Unity’s Project window, double-click Assets/DEV505/SoundManager/Samples/05-Weather/Weather.soundgraph.
  3. Use the mouse wheel to zoom and drag the graph background to bring the relevant nodes into view.
  4. Frame the entire graph for an overview. Use the close views on this page for small labels.

The Thunder graph

A delay separates the flash from its rumble. Random Clip chooses a thunder variation, and the event ends after playback finishes.
Weather in Unity: the Thunder graph. The graph nodes and their connections are visible.

A delay separates the flash from its rumble. Random Clip chooses a thunder variation, and the event ends after playback finishes.

Try this in Unity
  1. Exit Play Mode.
  2. In Unity’s Project window, double-click Assets/DEV505/SoundManager/Samples/05-Weather/Thunder.soundgraph.
  3. Use the mouse wheel to zoom and drag the graph background to bring the relevant nodes into view.
  4. Frame the entire graph for an overview. Use the close views on this page for small labels.

Blend the rain layers

The Rain value controls drizzle and downpour through separate curves. The curves determine how much of each layer you hear at a given rain level.
Weather in Unity: blend the rain layers. The graph nodes and their connections are visible.

The Rain value controls drizzle and downpour through separate curves. The curves determine how much of each layer you hear at a given rain level.

Try this in Unity
  1. Exit Play Mode.
  2. In Unity’s Project window, double-click Assets/DEV505/SoundManager/Samples/05-Weather/Weather.soundgraph.
  3. Use the mouse wheel to zoom and drag the graph background to bring the relevant nodes into view.
  4. Find the nodes described under “Blend the rain layers” on this page and zoom in to read their fields and connections.

Wait before the rumble

On Start passes through a 0.55-second Delay before thunder plays. The demo supplies the strike position when it starts this 3D event.
Weather in Unity: wait before the rumble. The graph nodes and their connections are visible.

On Start passes through a 0.55-second Delay before thunder plays. The demo supplies the strike position when it starts this 3D event.

Try this in Unity
  1. Exit Play Mode.
  2. In Unity’s Project window, double-click Assets/DEV505/SoundManager/Samples/05-Weather/Thunder.soundgraph.
  3. Use the mouse wheel to zoom and drag the graph background to bring the relevant nodes into view.
  4. Find the nodes described under “Wait before the rumble” on this page and zoom in to read their fields and connections.
DEV505 / SOUND LABChecked with Unity 6000.6.0f1 · Revision 746a1cc