IsValid<U>(U)
Returns the vality of the current Playable.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Playables
- Assembly: UnityEngine.CoreModule
IsValid<T>(T)
public static bool IsValid<U>(this U playable) where U : struct, IPlayable
Parameters
The Playable used by this operation.
Returns
Type | Description |
|---|---|
| bool | True 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.