Version: 2022.3
public static void SetTime (U playable, double value);

参数

playable 此操作所用的 Playable
value 当前时间(以秒为单位)。

描述

更改 Playable 的当前本地时间。

Use this method to override the next PlayableGraph evaluation of the current time.
Normally, the PlayableGraph updates the current time between Update and LateUpdate (see Execution Order).

Use this templated extension method on any type that inherits from IPlayable.