How to set up adaptive music in Unity with C# as vertical layering?
To show how our adaptive music works in a video game, we 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 our video-games-examples could be different states in a game level. In the picture below we show the essential C# code.
If you want to try it out for FREE you can: How do you set up our adaptive music?