Stop every layer's MusicComponent, and empty all of the layers
Get the MusicComponent in a layer
The name of the layer
The MusicComponent, or undefined if the layer is empty
Stop the MusicComponent in a layer, and empty the layer
The name of the layer
Put a MusicComponent into a layer, stopping whatever was there before
The name of the layer
The MusicComponent that should now occupy the layer
Should the new music start playing right away? (default true)
MusicLayers is a set of named MusicComponents that can play at the same time, such as a main theme, an ambient loop, and a playlist
Putting a MusicComponent into a name that already holds one stops the old one first, so a game never ends up with a track that it can no longer reach.