文档

Unity Engine

Unity Engine

SetDone<U>(U, bool)

Changes a flag indicating that a playable has completed its operation.
阅读时间1 分钟最后更新于 1 个月前

Definition

SetDone<T>(T, bool)

public static void SetDone<U>(this U playable, bool value) where U : struct, IPlayable

Parameters

playable

T
The Playable used by this operation.

value

True if the operation is completed, false otherwise.

Remarks

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