MyDungeon Documentation
![]() | SoundManager Class |
SoundManager is the class that handles audio

Namespace: MyDungeon.Managers
Assembly: Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0

C#
public class SoundManager : MonoBehaviour
The SoundManager type exposes the following members.

Name | Description | |
---|---|---|
![]() | SoundManager | Initializes a new instance of the SoundManager class |

Name | Description | |
---|---|---|
![]() | PlaySingle |
Plays a provided audio clip once
|
![]() | RandomizeSfx |
Randomizes the pitch of a sound effect
|

Name | Description | |
---|---|---|
![]() | HighPitchRange |
High pitch shift range for sound pitch randomization
|
![]() ![]() | Instance |
The current instance of SoundManager
|
![]() | LowPtichRange |
Low pitch shift range for sound pitch randomization
|
![]() | MusicSource |
An AudioSource attached to the SoundManager used for music
|
![]() | SfxSource |
An AudioSource attached to the SoundManager used for sound effects
|

Name | Description | |
---|---|---|
![]() | Invoke |
Invoke using a delegate
(Defined by MonoBehaviourExtensions.) |
