⏯️Control Song Play / Pause

There are multiple ways to play your own songs.

Playing a song on awake

  1. Set Play On Awake to true in SongManager

  2. Assign a Default SongItem

Playing songs from UI Button

  1. Find the Play Button in the scene

  2. Switch the PlaySong function to the one lets you pass in a SongItem

  3. Assign your own SongItem to the parameter slot

Playing a song via code

For playing a song through code, please head over to the SongManager

pageSong Manager

Last updated