Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Create(PlayableGraph, AudioClip, bool)

Creates an AudioClipPlayable in the PlayableGraph.
Read time 1 minuteLast updated 9 days ago

Definition

public static AudioClipPlayable Create(PlayableGraph graph, AudioClip clip, bool looping)

Parameters

The PlayableGraph that will contain the new AnimationLayerMixerPlayable.

The AudioClip that will be added in the PlayableGraph.

looping

True if the clip should loop, false otherwise.

Returns

Type

Description

AudioClipPlayableA AudioClipPlayable linked to the PlayableGraph.