Antura  1.1.0
Antura.Minigames.IAudioManager Interface Reference

Provides generic audio access to the core and to minigames.

See also
MinigamesAudioManager
More...

Inheritance diagram for Antura.Minigames.IAudioManager:
Antura.Minigames.MinigamesAudioManager

Public Member Functions

IAudioSource PlaySound (Sfx sfx)
 
IAudioSource PlaySound (AudioClip clip)
 
void StopSounds ()
 
IAudioSource PlayLetterData (ILivingLetterData id, bool stopAllLetters=true)
 Play sound for letter or word, if stopAllLetters is true, it will stop any previous letter sound. More...
 
IAudioSource PlayMusic (AudioClip clip)
 
void Reset ()
 
void PlayMusic (Music music)
 
void StopMusic ()
 
void PlayDialogue (Database.LocalizationDataId text, System.Action onCompleted=null)
 
void Update ()
 

Properties

bool MusicEnabled [get, set]
 

Detailed Description

Provides generic audio access to the core and to minigames.

See also
MinigamesAudioManager

Member Function Documentation

◆ PlayDialogue()

void Antura.Minigames.IAudioManager.PlayDialogue ( Database.LocalizationDataId  text,
System.Action  onCompleted = null 
)

◆ PlayLetterData()

IAudioSource Antura.Minigames.IAudioManager.PlayLetterData ( ILivingLetterData  id,
bool  stopAllLetters = true 
)

Play sound for letter or word, if stopAllLetters is true, it will stop any previous letter sound.

Implemented in Antura.Minigames.MinigamesAudioManager.

◆ PlayMusic() [1/2]

IAudioSource Antura.Minigames.IAudioManager.PlayMusic ( AudioClip  clip)

◆ PlayMusic() [2/2]

void Antura.Minigames.IAudioManager.PlayMusic ( Music  music)

◆ PlaySound() [1/2]

IAudioSource Antura.Minigames.IAudioManager.PlaySound ( Sfx  sfx)

◆ PlaySound() [2/2]

IAudioSource Antura.Minigames.IAudioManager.PlaySound ( AudioClip  clip)

◆ Reset()

void Antura.Minigames.IAudioManager.Reset ( )

◆ StopMusic()

void Antura.Minigames.IAudioManager.StopMusic ( )

◆ StopSounds()

void Antura.Minigames.IAudioManager.StopSounds ( )

◆ Update()

void Antura.Minigames.IAudioManager.Update ( )

Property Documentation

◆ MusicEnabled

bool Antura.Minigames.IAudioManager.MusicEnabled
getset

The documentation for this interface was generated from the following file: