InAudio Documentation

Advanced Audio Plugin for Unity

User Tools

Site Tools


playlist

Playlist

The playlist is a script you can attach to a game object to create a playlist of different music tracks created in the Music window.

As you can see in the picture below, there are three Pieces of music which we want to be in our playlist. This could bee some intro music, level specific or whatever you want it to be. See Music for more details about how to create them.

Then find a game object and add the Playlist component to it. Hereafter you have to drag the tracks you want to appear in the playlist to it like in the picture below.

When this is done, you can control the Playlist via code using the Play(), Stop() and Pause() methods.

playlist.txt · Last modified: 2015/10/13 23:49 by peterolsted