文档

Unity Engine

Unity Engine

IsDelayed<U>(U)

Returns whether or not the Playable has a delay.
阅读时间1 分钟最后更新于 1 个月前

Definition

IsDelayed<T>(T)

警告
Removed. IsDelayed is obsolete; use a custom ScriptPlayable to implement this feature
public static bool IsDelayed<U>(this U playable) where U : struct, IPlayable

Parameters

playable

T
The Playable used by this operation.

Returns

Type

Description

boolTrue if the playable is delayed, false otherwise.

Remarks

Use this templated extension method on any type that inherits from IPlayable.