Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Create(PlayableGraph, string, AudioSource)

Creates an AudioPlayableOutput in the PlayableGraph.
Read time 1 minuteLast updated 11 days ago

Definition

public static AudioPlayableOutput Create(PlayableGraph graph, string name, AudioSource target)

Parameters

The PlayableGraph that will contain the AudioPlayableOutput.

name

The name of the output.

The AudioSource that will play the AudioPlayableOutput source Playable.

Returns

Type

Description

AudioPlayableOutputA new AudioPlayableOutput attached to the PlayableGraph.

Remarks

The AudioSource plays the source Playable of the AudioPlayableOutput. This source Playable can be set with SetSourcePlayable.