Skip to main content

AudioSource.PlayScheduled(number time)

Plays the clip at a specific time on the absolute time-line that AudioSettings.dspTime reads from.

Parameters:

NameTypeDescription
timenumberTime in seconds on the absolute time-line that AudioSettings.dspTime refers to for when the sound should start playing.

Usage

---@type AudioSource
local audiosource;

---@type number
local time;


audiosource.PlayScheduled(time)