public static Playables.PlayState GetPlayState (U playable);

参数

playable此操作所用的 Playable

返回

PlayState Playable 的当前播放状态。

描述

返回 Playable 的当前播放状态。

PlayState.Playing: The local time of this Playable will be updated during the evaluation of the PlayableGraph.
PlayState.Paused: The local time of this Playable will not be updated during the evaluation of the PlayableGraph.
PlayState.Delayed: The delay is elapsed during the evaluation of the PlayableGraph, the Playable will not start as long as there is still a delay.

注意:这是一种模板化扩展方法,适用于继承自 IPlayable 的任何类型。

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961