Skip to content

Class "MusicManager"⚓︎

Constructors⚓︎

Music·Manager ()⚓︎

MusicManager MusicManager ( )⚓︎

Returns a MusicManager object.

Example Code

Example usage:

1
MusicManager():Disable()


Functions⚓︎

Crossfade ()⚓︎

void Crossfade ( MusicManager ID )⚓︎


Disable ()⚓︎

void Disable ( )⚓︎


Disable·Layer ()⚓︎

void DisableLayer ( )⚓︎


Enable ()⚓︎

void Enable ( )⚓︎


Enable·Layer ()⚓︎

void EnableLayer ( )⚓︎


Fadein ()⚓︎

void Fadein ( MusicManager ID, float Volume )⚓︎


Fadeout ()⚓︎

void Fadeout ( )⚓︎


Get·Current·Music·ID ()⚓︎

MusicManager GetCurrentMusicID ( )⚓︎


Get·Queued·Music·ID ()⚓︎

MusicManager GetQueuedMusicID ( )⚓︎

if nothing is queued, return the current music id


Is·Enabled ()⚓︎

boolean IsEnabled ( )⚓︎


Is·Layer·Enabled ()⚓︎

boolean IsLayerEnabled ( )⚓︎


Pause ()⚓︎

void Pause ( )⚓︎


Pitch·Slide ()⚓︎

void PitchSlide ( float TargetPitch )⚓︎


Play ()⚓︎

void Play ( MusicManager ID, float Volume )⚓︎


Queue ()⚓︎

void Queue ( MusicManager ID )⚓︎


Reset·Pitch ()⚓︎

void ResetPitch ( )⚓︎


Resume ()⚓︎

void Resume ( )⚓︎


Update·Volume ()⚓︎

void UpdateVolume ( )⚓︎

This function sets the music volume to the volume defined in the options menu.


Volume·Slide ()⚓︎

void VolumeSlide ( float TargetVolume )⚓︎



Last update: June 9, 2021