ドキュメント

Unity Engine

Unity Engine

SetLeadTime<U>(U, float)

Sets the Playable lead time in seconds.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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.