Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#

AudioClipPlayable.Create

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.

Did you find this page useful? Please give it a rating: