I currently working on a game where the user will input their own tracks and listen to them while playing the game itself, instead of me looking for background music.The thing is i use audiosource.playscheduled to switch between songs.i hve two audio sources, one to play the song and the other will hve a audioclip loaded into it to play when the first one is done then the same thing repeats.I use AudioLister.pause to pause the audiosources,but the playscheduled still runs.So after unpausing the audiolister,the song just switches and plays the next song.Is there any other way to approach my music problem or even pause the audiosource.playscheduled ?
In the meantime, you probably don’t need your audio to be scheduled perfectly just for background music. You can just use play. PlayScheduled is more for syncing different audiosources with each other, and stitching audio segements together. You might have good reasons for using playscheduled instead, but you didn’t list any.
I dont really want it to be synced perfectly i just want it to play not instantly but after the first song is done.The thing is ,pausing audiolistener doesn’t pause playschedule.I already found a solution but thks for your response.