View SoundManager.js
#pragma strict
public var MusicClips : AudioClip[];
public var MusicOnAwake : int = -1;
public var MusicOnAwakeLoop : boolean = true;
public var MusicOnAwakeVolume : float = 1.0;
public var ChannelCount : int = 2;
public var CrossFadeSeconds : float = 3.0;
private var channels : GameObject[];
private var channelIndex : int = 0;
private var channelIndexRev : boolean = false;