Music Control
You can call the control functions manually to play/pause, shuffle, or change a song
Play / Pause the music
MusicPlayer.PausePlayMusic();
Next Song
MusicPlayer.NextSong();
Previous Song
MusicPlayer.PreviousSong();
Toggle Shuffle
MusicPlayer.ShuffleMusic();
Change Song Position
This changes the playing song's position, for example if you have a song of 100 seconds, calling this function and assigning the position as 0.5f will start playing from the 50th second
This is usually used by the song duration bar in a music player
MusicPlayer.ChangeSongPosition(float position);
Last modified: 23 October 2023