기술 자료

Unity Engine

Unity Engine

SetLeadTime<U>(U, float)

Sets the Playable lead time in seconds.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

SetLeadTime<T>(T, float)

경고
Deprecated. SetLeadTime is obsolete. It was used to trigger PlayableBehaviour.PrepareData as part of the now obsolete Playable Delay functionality. Since this deprecation SetLeadTime has no effect and will be removed in a future version. You can emulate this functionality by implementing your own delay mechanism as part of a PlayableBehaviour
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

With the deprecation of Playable.SetDelay, this API has no effect anymore and will be removed in a future version.
Use this templated extension method on any type that inherits from IPlayable.