Loading...
Searching...
No Matches
AdventureCore.AudioManager Class Reference

Detailed Description

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

https://adventure.softleitner.com/manual/utilities

Inheritance diagram for AdventureCore.AudioManager:

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, AudioManagerManagers = new Dictionary<string, AudioManager>()