Declaration


public static AudioSequence PlayFromTime(string request, float startTime, params IEditModule[] edits)
public static AudioSequence PlayFromTime(string request, float startTime, float? volume = 1f, float? pitch = 1f, params IEditModule[] edits)

Parameters


string request The key for the group to be played.
float startTime The time the clip starts at.
params IEditModule[] edits An array of edits to apply to the clip. Is defines as params, so the elements do not needs to be in an array when defined.
string request The key for the group to be played.
float startTime The time the clip starts at.
float volume The volume to set the clip to.
float pitch The pitch to set the clip to.
params IEditModule[] edits An array of edits to apply to the clip. Is defines as params, so the elements do not needs to be in an array when defined.

Returns


AudioSequence

The audio sequence that the clip is being played on.

Description


Sets up an AudioSequence to play with all the options provided and plays it when ready with a start time defined through the parameters. Returning the AudioSequence its playing from for you to use should you need the reference.