ActionAdventureKit 1.7.3
|
simple manager that allows playing audio clips by using a key
hooking a characters CharacterBase.MessageReceived up to Play(string) enables
playing sounds from anything else hooked up to the messageing, usually animators or timelines
Classes | |
class | MusicTrack |
class | SoundEvent |
Public Member Functions | |
void | Play (string key) |
void | PlayMusic (string key) |
Static Public Member Functions | |
static AudioManager | GetManager (string key) |
Public Attributes | |
string | Key |
AudioSource | AudioSource |
float | MinimumOffset |
SoundEvent[] | SoundEvents |
string | DefaultTrack |
float | CrossfadeDuration = 1f |
MusicTrack[] | Tracks |
Static Public Attributes | |
static AudioManager | Main |
static Dictionary< string, AudioManager > | Managers = new Dictionary<string, AudioManager>() |