Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetLeadTime<U>(U, float)

Sets the Playable lead time in seconds.
Read time 1 minuteLast updated 11 days ago

Definition

SetLeadTime<T>(T, float)

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

Parameters

playable

T
The Playable used by this operation.

value

The new lead time in seconds.

Remarks

PrepareData()
is called when the lead time is greater than the Playable delay.
Use this templated extension method on any type that inherits from IPlayable.