기술 자료

Unity Engine

Unity Engine

IsValid<U>(U)

Returns the vality of the current Playable.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

IsValid<T>(T)

public static bool IsValid<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 properly constructed by the PlayableGraph and has not been destroyed, false otherwise.

Remarks

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