ドキュメント

Unity Engine

Unity Engine

GetDelay<U>(U)

Returns the delay of the playable.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

GetDelay<T>(T)

注意
Deprecated. GetDelay is obsolete; use a custom ScriptPlayable to implement this feature
public static double GetDelay<U>(this U playable) where U : struct, IPlayable

Parameters

playable

T
The Playable used by this operation.

Returns

Type

Description

doubleThe delay in seconds.

Remarks

The delay is not multiplied by the speed of the playable because it happens before the playable starts.
Use this templated extension method on any type that inherits from IPlayable.