기술 자료

Unity Engine

Unity Engine

SetDelay<U>(U, double)

Set a delay until the playable starts.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

SetDelay<T>(T, double)

경고
Deprecated. SetDelay is obsolete; use a custom ScriptPlayable to implement this feature
public static void SetDelay<U>(this U playable, double delay) where U : struct, IPlayable

Parameters

playable

T
The Playable used by this operation.

delay

The 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.