Play
Instatiates a Playable using the provided PlayableAsset and starts playback.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.Playables
- Assembly: UnityEngine.DirectorModule
Play(PlayableAsset)
Instatiates a Playable using the provided PlayableAsset and starts playback.
public void Play(PlayableAsset asset)
Parameters
An asset to instantiate a playable from.
Play(PlayableAsset, DirectorWrapMode)
Instatiates a Playable using the provided PlayableAsset and starts playback.
public void Play(PlayableAsset asset, DirectorWrapMode mode)
Parameters
An asset to instantiate a playable from.
What to do when the time passes the duration of the playable.
Play()
Instatiates a Playable using the provided PlayableAsset and starts playback.
public void Play()