Add the Wave

Simply drag and drop the wave prefab to your scene, then position and scale it however you want. The idea is to set it exactly where you want the waves to appear. You can also change its color and material if you need to.

Then press play to see the default waves.

That was easy!

Tweak the Wave

The last step is to tweak the parameters of the waves to fit your needs. You can see them in the inspector when you click on the wave prefab.

Amplitude: how high the waves are.

Period: the distance between each successive wave.

Speed: the speed at which the waves move.

Smooth: how smooth the waves are (a lower number will have better performances).

Direction: the direction of the waves, either left or right.

You can change them while in play mode to see the result in real time.

How it Works

For your information, the wave is created programmatically with a mesh. Then all the points at the top of the mesh move up and down to follow a sine curve.

Here's a low resolution wave to better show you how this works.

Conclusion

As you can see the plugin is super easy to use. If you want it, you can download it here. And if you try the plugin, please make sure to leave a review. Thanks!

Get my free ebook "How To Create and Promote Your Own Games" and be notified when I write new tutorials

More than 12,000 people already joined. No spam and unsubscribe at any time.