Version: 2017.2
public static Audio.AudioClipPlayable Create (Playables.PlayableGraph graph, AudioClip clip, bool looping);

Parameters

graph The PlayableGraph that will contain the new AnimationLayerMixerPlayable.
clip The AudioClip that will be added in the PlayableGraph.
looping True if the clip should loop, false otherwise.

Returns

AudioClipPlayable A AudioClipPlayable linked to the PlayableGraph.

Description

Creates an AudioClipPlayable in the PlayableGraph.