Version: 2017.4
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

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

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

OnBehaviourDelayThis function is called when the Playable play state is changed to PlayState.Delayed.
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.
PrepareDataThis function is called during the PrepareData phase of the PlayableGraph.
PrepareFrameThis function is called during the PrepareFrame phase of the PlayableGraph.
ProcessFrameThis function is called during the ProcessFrame phase of the PlayableGraph.