|
void | SaveVolumeSettings () |
|
void | LoadVolumeSettings () |
|
void | RemovePlayingSound (BaseAudioFileObject s, SoundChannelHelper h) |
|
void | RemovePlayingMusic (BaseAudioFileObject s, MusicChannelHelper h) |
|
MusicChannelHelper | PlayMusicInternal (MusicFileObject music, bool isMain) |
|
MusicChannelHelper | PlayMusicInternal (MusicFileObject music, Transform newTransform=null, MusicChannelHelper helper=null) |
|
MusicChannelHelper | PlayMusicInternal (MusicFileObject music, Vector3 position, MusicChannelHelper helper=null) |
|
MusicChannelHelper | FadeMusicInInternal (MusicFileObject music, float fadeInTime, bool isMain) |
|
MusicChannelHelper | FadeMainMusicOutInternal (float fadeOutTime) |
|
MusicChannelHelper | FadeMusicOutInternal (MusicFileObject music, float fadeOutTime) |
|
MusicChannelHelper | FadeMusicOutInternal (MusicChannelHelper helper, float fadeOutTime) |
|
MusicChannelHelper | StopMusicInternal (MusicFileObject music, Transform t, bool stopInstantly) |
|
MusicChannelHelper | StopMusicInternal (MusicFileObject s, Vector3 pos, bool stopInstantly) |
|
bool | StopMusicIfPlayingInternal (MusicFileObject music, Transform trans=null, bool stopInstantly=true) |
|
bool | StopMusicIfPlayingInternal (MusicFileObject music, Vector3 pos, bool stopInstantly=true) |
|
SoundChannelHelper | PlaySoundInternal (SoundFileObject sound, Transform newTransform=null, SoundChannelHelper helper=null) |
|
SoundChannelHelper | PlaySoundInternal (SoundFileObject sound, Vector3 position, SoundChannelHelper helper=null) |
|
void | StopAllSoundsInternal (bool stopInstantly=true) |
|
void | StopSoundInternal (SoundFileObject s, Transform t=null, bool stopInstantly=true) |
|
void | StopSoundInternal (SoundFileObject s, Vector3 pos, bool stopInstantly=true) |
|
bool | StopSoundIfPlayingInternal (SoundFileObject sound, Transform trans=null, bool stopInstantly=true) |
|
bool | StopSoundIfPlayingInternal (SoundFileObject sound, Vector3 pos, bool stopInstantly=true) |
|
MusicChannelHelper | GetFreeMusicHelper () |
|
SoundChannelHelper | GetFreeSoundHelper () |
|
bool | IsSoundPlayingInternal (SoundFileObject s, Transform trans) |
|
bool | IsSoundPlayingInternal (SoundFileObject s, Vector3 pos) |
|
bool | TryGetPlayingSound (SoundFileObject s, out SoundChannelHelper helper) |
|
bool | IsMusicPlayingInternal (MusicFileObject a, Transform trans=null) |
|
bool | IsMusicPlayingInternal (MusicFileObject s, Vector3 pos) |
|
bool | TryGetPlayingMusic (MusicFileObject a, out MusicChannelHelper helper) |
|
|
static float | EPSILON = 0.000001f |
| A bit like float Epsilon, but large enough for the purpose of pushing the playback position of AudioSources just far enough to not throw an error More...
|
|
static Action | OnSpatializeUpdate |
| Notifies Audio Channels to follow their target. More...
|
|
static Action | OnSpatializeLateUpdate |
| Notifies Audio Channels to follow their target on LateUpdate Only invoked when Spatialize is set to true More...
|
|
static Action | OnSpatializeFixedUpdate |
| Notifies Audio Channels to follow their target on FixedUpdate Only invoked when Spatialize is set to true More...
|
|
static Action< float > | OnTimeScaleChanged |
|
◆ FadeMainMusicOutInternal()
MusicChannelHelper JSAM.AudioManagerInternal.FadeMainMusicOutInternal |
( |
float |
fadeOutTime | ) |
|
◆ FadeMusicInInternal()
◆ FadeMusicOutInternal() [1/2]
◆ FadeMusicOutInternal() [2/2]
◆ GetFreeMusicHelper()
◆ GetFreeSoundHelper()
◆ IsMusicPlayingInternal() [1/2]
bool JSAM.AudioManagerInternal.IsMusicPlayingInternal |
( |
MusicFileObject |
a, |
|
|
Transform |
trans = null |
|
) |
| |
◆ IsMusicPlayingInternal() [2/2]
bool JSAM.AudioManagerInternal.IsMusicPlayingInternal |
( |
MusicFileObject |
s, |
|
|
Vector3 |
pos |
|
) |
| |
◆ IsSoundPlayingInternal() [1/2]
bool JSAM.AudioManagerInternal.IsSoundPlayingInternal |
( |
SoundFileObject |
s, |
|
|
Transform |
trans |
|
) |
| |
◆ IsSoundPlayingInternal() [2/2]
bool JSAM.AudioManagerInternal.IsSoundPlayingInternal |
( |
SoundFileObject |
s, |
|
|
Vector3 |
pos |
|
) |
| |
◆ LoadVolumeSettings()
void JSAM.AudioManagerInternal.LoadVolumeSettings |
( |
| ) |
|
◆ PlayMusicInternal() [1/3]
◆ PlayMusicInternal() [2/3]
◆ PlayMusicInternal() [3/3]
◆ PlaySoundInternal() [1/2]
◆ PlaySoundInternal() [2/2]
◆ RemovePlayingMusic()
◆ RemovePlayingSound()
◆ SaveVolumeSettings()
void JSAM.AudioManagerInternal.SaveVolumeSettings |
( |
| ) |
|
◆ StopAllSoundsInternal()
void JSAM.AudioManagerInternal.StopAllSoundsInternal |
( |
bool |
stopInstantly = true | ) |
|
◆ StopMusicIfPlayingInternal() [1/2]
bool JSAM.AudioManagerInternal.StopMusicIfPlayingInternal |
( |
MusicFileObject |
music, |
|
|
Transform |
trans = null , |
|
|
bool |
stopInstantly = true |
|
) |
| |
◆ StopMusicIfPlayingInternal() [2/2]
bool JSAM.AudioManagerInternal.StopMusicIfPlayingInternal |
( |
MusicFileObject |
music, |
|
|
Vector3 |
pos, |
|
|
bool |
stopInstantly = true |
|
) |
| |
◆ StopMusicInternal() [1/2]
◆ StopMusicInternal() [2/2]
◆ StopSoundIfPlayingInternal() [1/2]
bool JSAM.AudioManagerInternal.StopSoundIfPlayingInternal |
( |
SoundFileObject |
sound, |
|
|
Transform |
trans = null , |
|
|
bool |
stopInstantly = true |
|
) |
| |
◆ StopSoundIfPlayingInternal() [2/2]
bool JSAM.AudioManagerInternal.StopSoundIfPlayingInternal |
( |
SoundFileObject |
sound, |
|
|
Vector3 |
pos, |
|
|
bool |
stopInstantly = true |
|
) |
| |
◆ StopSoundInternal() [1/2]
void JSAM.AudioManagerInternal.StopSoundInternal |
( |
SoundFileObject |
s, |
|
|
Transform |
t = null , |
|
|
bool |
stopInstantly = true |
|
) |
| |
◆ StopSoundInternal() [2/2]
void JSAM.AudioManagerInternal.StopSoundInternal |
( |
SoundFileObject |
s, |
|
|
Vector3 |
pos, |
|
|
bool |
stopInstantly = true |
|
) |
| |
◆ TryGetPlayingMusic()
◆ TryGetPlayingSound()
◆ EPSILON
float JSAM.AudioManagerInternal.EPSILON = 0.000001f |
|
static |
A bit like float Epsilon, but large enough for the purpose of pushing the playback position of AudioSources just far enough to not throw an error
◆ MasterMuted
bool JSAM.AudioManagerInternal.MasterMuted = false |
◆ MasterVolume
float JSAM.AudioManagerInternal.MasterVolume = 1 |
◆ MusicMuted
bool JSAM.AudioManagerInternal.MusicMuted = false |
◆ MusicVolume
float JSAM.AudioManagerInternal.MusicVolume = 1 |
◆ OnSpatializeFixedUpdate
Action JSAM.AudioManagerInternal.OnSpatializeFixedUpdate |
|
static |
Notifies Audio Channels to follow their target on FixedUpdate Only invoked when Spatialize is set to true
◆ OnSpatializeLateUpdate
Action JSAM.AudioManagerInternal.OnSpatializeLateUpdate |
|
static |
Notifies Audio Channels to follow their target on LateUpdate Only invoked when Spatialize is set to true
◆ OnSpatializeUpdate
Action JSAM.AudioManagerInternal.OnSpatializeUpdate |
|
static |
Notifies Audio Channels to follow their target.
Only invoked when Spatialize is set to true
◆ OnTimeScaleChanged
Action<float> JSAM.AudioManagerInternal.OnTimeScaleChanged |
|
static |
float previousTimeScale
Invoked when the user changes the TimeScale Notifies Audio Channels to adjust pitch accordingly.
◆ SoundMuted
bool JSAM.AudioManagerInternal.SoundMuted = false |
◆ SoundVolume
float JSAM.AudioManagerInternal.SoundVolume = 1 |
◆ mainMusic
◆ ModifiedMasterVolume
float JSAM.AudioManagerInternal.ModifiedMasterVolume |
|
get |
◆ ModifiedMusicVolume
float JSAM.AudioManagerInternal.ModifiedMusicVolume |
|
get |
◆ ModifiedSoundVolume
float JSAM.AudioManagerInternal.ModifiedSoundVolume |
|
get |
The documentation for this class was generated from the following file:
- C:/Users/jacky/Documents/Unity Projects/Simple-Unity-Audio-Manager/Assets/JSAM/Runtime/Scripts/AudioManagerInternal.cs