Declaration


public static AudioSequence PlayAtLocation(string request, Vector2 position, params IEditModule[] edits)
public static AudioSequence PlayAtLocation(string request, Vector3 position, params IEditModule[] edits)
public static AudioSequence PlayAtLocation(string request, Transform position, bool localPosition, params IEditModule[] edits)
public static AudioSequence PlayAtLocation(string request, Vector2 position, float? volume = 1f, float? pitch = 1f, params IEditModule[] edits)
public static AudioSequence PlayAtLocation(string request, Vector3 position, float? volume = 1f, float? pitch = 1f, params IEditModule[] edits)
public static AudioSequence PlayAtLocation(string request, Transform position, bool useLocalPosition, float? volume = 1f, float? pitch = 1f, params IEditModule[] edits)

Parameters


string request The key for the group to be played.
Vector2 position The position to set the clip to play at in the world.
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.
Vector3 position The position to set the clip to play at in the world.
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.
Transform transform The transform position to set the clip to play at in the world.
bool useLocalPosition Defines if the local position is used or the normal world position.
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.
Vector2 position The position to set the clip to play at in the world.
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.
string request The key for the group to be played.
Vector3 position The position to set the clip to play at in the world.
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.
string request The key for the group to be played.
Transform transform The transform position to set the clip to play at in the world.
bool useLocalPosition Defines if the local position is used or the normal world position.
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.