public void PlayPause() { SongPlayer player = SongPlayer.instance; if (player.isPaused || (!player.isPlaying)) { player.ResumeSong(); } else { player.PauseSong(); } UpdatePlaybutton(); }