Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetDone<U>(U, bool)

Changes a flag indicating that a playable has completed its operation.
Read time 1 minuteLast updated 6 days ago

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.