GetGraph<U>(U)
Returns the PlayableGraph that owns this Playable. A Playable can only be used in the graph that was used to create it.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Playables
- Assembly: UnityEngine.CoreModule
GetGraph<T>(T)
public static PlayableGraph GetGraph<U>(this U playable) where U : struct, IPlayable
Parameters
The Playable used by this operation.
Returns
Type | Description |
|---|---|
| PlayableGraph | The PlayableGraph associated with the current Playable. |
Remarks
Use this templated extension method on any type that inherits from IPlayable.