Sequine - Scripting API
Calcatz.CookieCutter.TimelinePlayerCommand Class Reference

Play, Resume, Stop, or Pause a PlayableDirector. More...

Inheritance diagram for Calcatz.CookieCutter.TimelinePlayerCommand:
Calcatz.CookieCutter.Command< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10 >

Public Types

enum  Control { Play , Resume , Stop , Pause }
 

Public Member Functions

override void Execute (CommandExecutionFlow _flow)
 The process to execute upon visiting the main in-point (white in-point). More...
 

Public Attributes

Control control
 
TimelineAsset asset
 
UnityEngine.Object asset
 
bool asynchronous
 
bool deactivateGameObject = true
 

Protected Member Functions

virtual void OnFinishedExecution ()
 
virtual void StopTimeline (CommandExecutionFlow _flow, PlayableDirector playableDirector)
 
virtual void PlayTimeline (CommandExecutionFlow _flow, PlayableDirector playableDirector)
 
virtual void ResumeTimeline (CommandExecutionFlow _flow, PlayableDirector playableDirector)
 
virtual void PauseTimeline (CommandExecutionFlow _flow, PlayableDirector playableDirector)
 
override void HandleInterruption ()
 Called when the current flow is force killed, while the currently executed command is exactly this command, and has not exited. Note that "exited" here means that Exit() method has been called. More...
 
virtual void OnWaitForTimeline (CommandExecutionFlow _flow, PlayableDirector _playableDirector)
 Callback for synchronous timeline. More...
 
virtual void OnWaitForTimelineDone (CommandExecutionFlow _flow)
 Callback for synchronous timeline. More...
 

Additional Inherited Members

Detailed Description

Play, Resume, Stop, or Pause a PlayableDirector.

Member Enumeration Documentation

◆ Control

Enumerator
Play 
Resume 
Stop 
Pause 

Member Function Documentation

◆ Execute()

override void Calcatz.CookieCutter.TimelinePlayerCommand.Execute ( CommandExecutionFlow  _flow)
virtual

The process to execute upon visiting the main in-point (white in-point).

Parameters
_flow

Reimplemented from Calcatz.CookieCutter.Command< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10 >.

◆ HandleInterruption()

override void Calcatz.CookieCutter.TimelinePlayerCommand.HandleInterruption ( )
protectedvirtual

Called when the current flow is force killed, while the currently executed command is exactly this command, and has not exited. Note that "exited" here means that Exit() method has been called.

Reimplemented from Calcatz.CookieCutter.Command< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10 >.

◆ OnFinishedExecution()

virtual void Calcatz.CookieCutter.TimelinePlayerCommand.OnFinishedExecution ( )
protectedvirtual

◆ OnWaitForTimeline()

virtual void Calcatz.CookieCutter.TimelinePlayerCommand.OnWaitForTimeline ( CommandExecutionFlow  _flow,
PlayableDirector  _playableDirector 
)
protectedvirtual

Callback for synchronous timeline.

Parameters
_playableDirector

◆ OnWaitForTimelineDone()

virtual void Calcatz.CookieCutter.TimelinePlayerCommand.OnWaitForTimelineDone ( CommandExecutionFlow  _flow)
protectedvirtual

Callback for synchronous timeline.

Parameters
_flow

◆ PauseTimeline()

virtual void Calcatz.CookieCutter.TimelinePlayerCommand.PauseTimeline ( CommandExecutionFlow  _flow,
PlayableDirector  playableDirector 
)
protectedvirtual

◆ PlayTimeline()

virtual void Calcatz.CookieCutter.TimelinePlayerCommand.PlayTimeline ( CommandExecutionFlow  _flow,
PlayableDirector  playableDirector 
)
protectedvirtual

◆ ResumeTimeline()

virtual void Calcatz.CookieCutter.TimelinePlayerCommand.ResumeTimeline ( CommandExecutionFlow  _flow,
PlayableDirector  playableDirector 
)
protectedvirtual

◆ StopTimeline()

virtual void Calcatz.CookieCutter.TimelinePlayerCommand.StopTimeline ( CommandExecutionFlow  _flow,
PlayableDirector  playableDirector 
)
protectedvirtual

Member Data Documentation

◆ asset [1/2]

TimelineAsset Calcatz.CookieCutter.TimelinePlayerCommand.asset

◆ asset [2/2]

UnityEngine.Object Calcatz.CookieCutter.TimelinePlayerCommand.asset

◆ asynchronous

bool Calcatz.CookieCutter.TimelinePlayerCommand.asynchronous

◆ control

Control Calcatz.CookieCutter.TimelinePlayerCommand.control

◆ deactivateGameObject

bool Calcatz.CookieCutter.TimelinePlayerCommand.deactivateGameObject = true