LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

PlayableExtensions.GetGraph

public static Playables.PlayableGraph GetGraph(U playable);

Parameters

playableThe Playable used by this operation.

Returns

PlayableGraph The PlayableGraph associated with the current Playable.

Description

Returns the PlayableGraph that owns this Playable. A Playable can only be used in the graph that was used to create it.

NOTE: This is a templated extension method that can be used on any type that inherits from IPlayable