# SetLeadTime<U>(U, float)

> Sets the Playable lead time in seconds.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Playables](/engine/6000.3/script-reference/unityengine/playables.md)
* **Assembly:** UnityEngine.CoreModule

## SetLeadTime\<T>(T, float)

```csharp
public static void SetLeadTime<U>(this U playable, float value) where U : struct, IPlayable
```

### Parameters

**** (T): The [Playable](/engine/6000.3/script-reference/unityengine/playables/playable.md) used by this operation.**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The new lead time in seconds.

### Remarks

`PrepareData()` is called when the lead time is greater than the [Playable](/engine/6000.3/script-reference/unityengine/playables/playable.md) delay.

Additional Resources: [PlayableExtensions.GetLeadTime](/engine/6000.3/script-reference/unityengine/playables/playableextensions/getleadtime.md), [PlayableExtensions.SetDelay](/engine/6000.3/script-reference/unityengine/playables/playableextensions/setdelay.md).

Use this templated extension method on any type that inherits from [IPlayable](/engine/6000.3/script-reference/unityengine/playables/iplayable.md).
