GetPreviousTime<U>(U)
Returns the previous local time of the Playable.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.Playables
- Assembly: UnityEngine.CoreModule
GetPreviousTime<T>(T)
public static double GetPreviousTime<U>(this U playable) where U : struct, IPlayable
Parameters
The Playable used by this operation.
Returns
Type | Description |
|---|---|
| double | The previous time in seconds. |
Remarks
Use this templated extension method on any type that inherits from IPlayable.