This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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; |