Sequine - Scripting API
Calcatz.CookieCutter.ChangeTimeScaleCommand Class Reference

Modifies the value of the global time scale using Time.timeScale. More...

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

Public Member Functions

 ChangeTimeScaleCommand ()
 
override void Execute (CommandExecutionFlow _flow)
 The process to execute upon visiting the main in-point (white in-point). More...
 
override void Editor_OnDrawTitle (out string _tooltip)
 Called when a Command Node's title is drawn. Use this to change the tooltip of the command. Also use this to decide whether the Title should draw in-point and/or out-point. More...
 
override void Editor_InitInPoints ()
 Called when a Command Node is initialized, specifically the in-points. Use this method to ensure inputIds as well. More...
 
override void Editor_OnDrawContents (Vector2 _absPosition)
 Called when a Command Node is drawn. More...
 

Public Attributes

float timeScale = 1f
 

Properties

override float nodeWidth [get]
 

Additional Inherited Members

Detailed Description

Modifies the value of the global time scale using Time.timeScale.

Constructor & Destructor Documentation

◆ ChangeTimeScaleCommand()

Calcatz.CookieCutter.ChangeTimeScaleCommand.ChangeTimeScaleCommand ( )

Member Function Documentation

◆ Editor_InitInPoints()

override void Calcatz.CookieCutter.ChangeTimeScaleCommand.Editor_InitInPoints ( )
virtual

Called when a Command Node is initialized, specifically the in-points. Use this method to ensure inputIds as well.

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

◆ Editor_OnDrawContents()

override void Calcatz.CookieCutter.ChangeTimeScaleCommand.Editor_OnDrawContents ( Vector2  _absPosition)
virtual

Called when a Command Node is drawn.

Parameters
_absPosition

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

◆ Editor_OnDrawTitle()

override void Calcatz.CookieCutter.ChangeTimeScaleCommand.Editor_OnDrawTitle ( out string  _tooltip)
virtual

Called when a Command Node's title is drawn. Use this to change the tooltip of the command. Also use this to decide whether the Title should draw in-point and/or out-point.

Parameters
_tooltip

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

◆ Execute()

override void Calcatz.CookieCutter.ChangeTimeScaleCommand.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 >.

Member Data Documentation

◆ timeScale

float Calcatz.CookieCutter.ChangeTimeScaleCommand.timeScale = 1f

Property Documentation

◆ nodeWidth

override float Calcatz.CookieCutter.ChangeTimeScaleCommand.nodeWidth
get