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

Script language

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

DirectorControlPlayable

class in UnityEngine.Timeline

/

Inherits from:Playables.PlayableBehaviour

Description

Playable used to control other PlayableDirectors.

This playable is used to control other PlayableDirector components from a Timeline sequence.

Properties

directorThe PlayableDirector to control.

Inherited Members

Public Methods

OnBehaviourPauseThis function is called when the Playable play state is changed to PlayState.Paused.
OnBehaviourPlayThis function is called when the Playable play state is changed to PlayState.Playing.
OnGraphStartThis function is called when the PlayableGraph that owns this PlayableBehaviour starts.
OnGraphStopThis function is called when the PlayableGraph that owns this PlayableBehaviour stops.
OnPlayableCreateThis function is called when the Playable that owns the PlayableBehaviour is created.
OnPlayableDestroyThis function is called when the Playable that owns the PlayableBehaviour is destroyed.
PrepareFrameThis function is called during the PrepareFrame phase of the PlayableGraph.
ProcessFrameThis function is called during the ProcessFrame phase of the PlayableGraph.

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