Create(PlayableGraph, AudioClip, bool)
Creates an AudioClipPlayable in the PlayableGraph.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEngine.Audio
- Assembly: UnityEngine.AudioModule
public static AudioClipPlayable Create(PlayableGraph graph, AudioClip clip, bool looping)
Parameters
The PlayableGraph that will contain the new AnimationLayerMixerPlayable.
The AudioClip that will be added in the PlayableGraph.
True if the clip should loop, false otherwise.
Returns
Type | Description |
|---|---|
| AudioClipPlayable | A AudioClipPlayable linked to the PlayableGraph. |