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

Parameters

graphThe PlayableGraph that will contain the new AnimationLayerMixerPlayable.
clipThe AudioClip that will be added in the PlayableGraph.
loopingTrue if the clip should loop, false otherwise.

Returns

AudioClipPlayable A AudioClipPlayable linked to the PlayableGraph.

Description

Creates an AudioClipPlayable in the PlayableGraph.