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

Script language

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

Experimental: this API is experimental and might be changed or removed in the future.

PlayableGraph.CreatePlayable

public Experimental.Director.PlayableHandle CreatePlayable();

Returns

PlayableHandle The created Playable.

Description

This method allows you to create custom Playable instances.

For creating basic Playables, use PlayableGraph.CreateAnimationClipPlayable, PlayableGraph.CreateMixerPlayable, PlayableGraph.CreateAnimatorControllerPlayable or PlayableGraph.CreateScriptPlayable.