GetLeadTime<U>(U)
Returns the Playable lead time in seconds.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Playables
- Assembly: UnityEngine.CoreModule
GetLeadTime<T>(T)
public static float GetLeadTime<U>(this U playable) where U : struct, IPlayable
Parameters
The Playable used by this operation.
Returns
Type | Description |
|---|---|
| float |
Remarks
With the deprecation of Playable.SetDelay, this API has no effect anymore and will be removed in a future version.
Additional Resources: PlayableExtensions.SetLeadTime, PlayableExtensions.SetDelay.
Use this templated extension method on any type that inherits from IPlayable.