Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

GetGraph<T>(T)

public static PlayableGraph GetGraph<U>(this U playable) where U : struct, IPlayable

Parameters

playable

T
The Playable used by this operation.

Returns

Type

Description

PlayableGraphThe PlayableGraph associated with the current Playable.

Remarks

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