Properties
📌 Summary Table
Using
bool
True if the playlist is in use, even if it’s paused.
Playing
bool
True if the playlist is currently playing.
Paused
bool
True if the playlist is paused, ignoring any fade-out.
Volume
float
Current playlist volume (value between 0 and 1).
PlayingTime
float
Total time (in seconds) the playlist has been playing.
CurrentLoopCycleTime
float
Current time (in seconds) of the active loop cycle.
CompletedLoopCycles
int
Number of completed loop cycles.
CurrentClipDuration
float
Duration (in seconds) of the clip currently playing.
PlayListDuration
float
Total duration (sum of all clips) of the playlist.
ReproducedTracks
float
Number of tracks that have been played since the playlist started.
CurrentPlaylistClip
AudioClip
Reference to the clip that is currently playing in the playlist.
NextPlaylistClip
AudioClip
Reference to the clip that will play next in the playlist.
PlaylistClipsTags
string[]
Array of clip tags in the playlist, in playback order.
📘 Detailed Description
bool Using
bool UsingReturns true if the playlist is in use. This includes both active playback and paused states, as long as the playlist remains bound to an AudioSource.
bool Playing
bool PlayingReturns true if a clip from the playlist is actively playing. If the playlist is paused or stopped, this property will be false.
bool Paused
bool PausedReturns true if the playlist is paused, regardless of any fade-out that may have been applied.
float Volume
float VolumeRepresents the current volume of the playlist. Values range from 0 (silent) to 1 (full volume).
float PlayingTime
float PlayingTimeTotal time in seconds that the playlist has been playing since it was last started.
float CurrentLoopCycleTime
float CurrentLoopCycleTimeElapsed time in seconds of the current loop cycle. If looping is disabled, this equals the play time of the current clip.
int CompletedLoopCycles
int CompletedLoopCyclesNumber of full loop cycles completed since the playlist began. Increments only when looping is enabled.
float CurrentClipDuration
float CurrentClipDurationDuration in seconds of the clip currently playing within the playlist. Useful for timing or visual synchronizations.
float PlayListDuration
float PlayListDurationSum of the durations of all clips in the playlist. This total remains constant even if not all tracks have been played yet.
float ReproducedTracks
float ReproducedTracksNumber of tracks that have finished playing since the playlist started. Increases each time a clip completes.
AudioClip CurrentPlaylistClip
AudioClip CurrentPlaylistClipDirect reference to the AudioClip currently being played in the playlist.
AudioClip NextPlaylistClip
AudioClip NextPlaylistClipReference to the next AudioClip that will play when the current one ends.
string[] PlaylistClipsTags
string[] PlaylistClipsTagsArray containing the tags of all clips in the playlist, in the exact order they will be played.
Last updated