Search Results for

    Show / Hide Table of Contents

    Class Playlist

    Represents a playlist of music tracks. Contains information about the tracks, their associated scenes, and playback settings.

    Inheritance
    object
    Playlist
    Namespace: Music
    Assembly: cs.temp.dll.dll
    Syntax
    [Serializable]
    public class Playlist

    Fields

    shuffleTime

    The time interval (in seconds) between shuffling tracks in the playlist.

    Declaration
    public float shuffleTime
    Field Value
    Type Description
    float

    songs

    A list of audio clips included in this playlist.

    Declaration
    public List<AudioClip> songs
    Field Value
    Type Description
    List<><AudioClip>

    trackName

    The name of the playlist.

    Declaration
    public string trackName
    Field Value
    Type Description
    string

    trackScenes

    A list of scenes where this playlist is used.

    Declaration
    public List<string> trackScenes
    Field Value
    Type Description
    List<><string>

    volume

    The volume level for the playlist.

    Declaration
    public float volume
    Field Value
    Type Description
    float
    In This Article
    Back to top Example Unity documentation footer