Declaration


public static AudioSequence Prepare(string request, params IEditModule[] edits)

Parameters


string request The key for the requested audio clip to play.
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 prepared for use with the entered parameters.

Description


Sets up an AudioSequence to play with all the options provided, but doesn’t actually play the clip. It instead returns the AudioSequence it generated for you to call play yourself.

Example