Adaptive music – re-sequencing in Unity

How to set up adaptive music in Unity with C# as vertical layering?

To show how my adaptive music works in a video game, I created two demonstrations using the game engine Unity and C#.

The player sends out a raycast pointing down. It is queried which plane the raycast hits.

Each plane is assigned to a mixer-snapshot. Depending on which plane the player jumps to, the corresponding mixer-snapshot is activated and the single tracks fades over.

The planes in my video-games-examples could be different states in a game level. In the picture below I show the essential C# code.

If you want to try it out for FREE you can: How do you set up my adaptive music?