ドキュメント

Unity Engine

Unity Engine

IsDone<U>(U)

Returns a flag indicating that a playable has completed its operation.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

IsDone<T>(T)

public static bool IsDone<U>(this U playable) where U : struct, IPlayable

Parameters

playable

T
The Playable used by this operation.

Returns

Type

Description

boolTrue if the playable has completed its operation, false otherwise.

Remarks

If the duration of the playable is set, when the time of the playable reaches its duration during playback this flag will be set to true.
Use this templated extension method on any type that inherits from IPlayable.