using System.Collections; using System.Collections.Generic; using UnityEngine; using Game; using Music; using Player; using UnityEngine.Audio; namespace Music { /// /// Represents a playlist of music tracks. /// Contains information about the tracks, their associated scenes, and playback settings. /// [System.Serializable] public class Playlist { /// /// The name of the playlist. /// public string trackName; /// /// A list of scenes where this playlist is used. /// public List trackScenes; /// /// A list of audio clips included in this playlist. /// public List songs; /// /// The time interval (in seconds) between shuffling tracks in the playlist. /// public float shuffleTime; /// /// The volume level for the playlist. /// public float volume; } }