Version: 2022.3
public static Audio.AudioPlayableOutput Create (Playables.PlayableGraph graph, string name, AudioSource target);

参数

graph 将包含 AnimationPlayableOutputPlayableGraph
name 输出的名称。
target 用于播放 AudioPlayableOutput 音频源 PlayableAudioSource

返回

AudioPlayableOutput 附加到 PlayableGraph 的新 AudioPlayableOutput

描述

PlayableGraph 中创建一个 AudioPlayableOutput

AudioSource 将播放 AudioPlayableOutput 的音频源 Playable。此音频源 Playable 可使用 SetSourcePlayable 设置。


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