기술 자료

Unity Engine


User Manual

Script Reference

Unity Engine


GetLeadTime<U>(U)

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

Definition

GetLeadTime<T>(T)

public static float GetLeadTime<U>(this U playable) where U : struct, IPlayable

Parameters

playable

T
The Playable used by this operation.

Returns

Type

Description

float

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.