GetDelay<U>(U)
Returns the delay of the playable.
阅读时间1 分钟最后更新于 22 天前
Definition
- Type: Method
- Namespace: UnityEngine.Playables
- Assembly: UnityEngine.CoreModule
GetDelay<T>(T)
public static double GetDelay<U>(this U playable) where U : struct, IPlayable
Parameters
The Playable used by this operation.
Returns
Type | Description |
|---|---|
| double | The delay in seconds. |
Remarks
The delay is not multiplied by the speed of the playable because it happens before the playable starts.
Use this templated extension method on any type that inherits from IPlayable.