Create(PlayableGraph, string, AudioSource)
Creates an AudioPlayableOutput in the PlayableGraph.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Audio
- Assembly: UnityEngine.AudioModule
public static AudioPlayableOutput Create(PlayableGraph graph, string name, AudioSource target)
Parameters
Returns
Type | Description |
|---|---|
| AudioPlayableOutput | A new AudioPlayableOutput attached to the PlayableGraph. |
Remarks
The AudioSource plays the source Playable of the AudioPlayableOutput. This source Playable can be set with SetSourcePlayable.