ドキュメント

Unity Engine

Unity Engine

Create(PlayableGraph, string, AudioSource)

Creates an AudioPlayableOutput in the PlayableGraph.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

Parameters

The PlayableGraph that will contain the AnimationPlayableOutput.

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.