MyDungeon Documentation
SoundManager Class |
SoundManager is the class that handles audio
Inheritance Hierarchy
Namespace: MyDungeon.Managers
Assembly: Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public class SoundManager : MonoBehaviour
The SoundManager type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SoundManager | Initializes a new instance of the SoundManager class |
Methods
Name | Description | |
---|---|---|
PlaySingle |
Plays a provided audio clip once
| |
RandomizeSfx |
Randomizes the pitch of a sound effect
|
Fields
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
|
Extension Methods
Name | Description | |
---|---|---|
Invoke |
Invoke using a delegate
(Defined by MonoBehaviourExtensions.) |
See Also