Legacy Documentation: Version 2017.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

IPlayableAsset.CreatePlayable

public Playables.Playable CreatePlayable(Playables.PlayableGraph graph, GameObject owner);

Parameters

graph The graph to inject playables into.
owner The game object which initiated the build.

Returns

Playable The playable injected into the graph, or the root playable if multiple playables are injected.

Description

Implement this method to have your asset inject playables into the given graph.

Did you find this page useful? Please give it a rating: