Sequine - Scripting API
Calcatz.CookieCutter.CommandExecutor Class Reference

Public Member Functions

 CommandExecutor (UnityEngine.Object _targetObject)
 
 CommandExecutor (object _targetObjectBoxed)
 
void OverrideOnCommandFinished (System.Action< Command, CommandExecutionFlow > _callback)
 
CommandExecutionFlow RunFlow (CommandData _rootCommandData, Command _startingCommand, CommandExecutionFlow.FlowFinishedCallback _onFinished=null)
 
CommandExecutionFlow RunFlow (Command _startingCommand, CommandExecutionFlow.FlowFinishedCallback _onFinished=null)
 
void KillFlow (CommandExecutionFlow _flow)
 
void KillAllFlows ()
 
void EndFlow (CommandExecutionFlow _flow)
 Called internally when the flow ends. More...
 

Public Attributes

System.Action onAllFlowsEnded
 

Properties

UnityEngine.Object targetObject [get]
 
object targetObjectBoxed [get]
 
CommandData mainCommandData [getset]
 

Constructor & Destructor Documentation

◆ CommandExecutor() [1/2]

Calcatz.CookieCutter.CommandExecutor.CommandExecutor ( UnityEngine.Object  _targetObject)

◆ CommandExecutor() [2/2]

Calcatz.CookieCutter.CommandExecutor.CommandExecutor ( object  _targetObjectBoxed)

Member Function Documentation

◆ EndFlow()

void Calcatz.CookieCutter.CommandExecutor.EndFlow ( CommandExecutionFlow  _flow)

Called internally when the flow ends.

Parameters
_flow

◆ KillAllFlows()

void Calcatz.CookieCutter.CommandExecutor.KillAllFlows ( )

◆ KillFlow()

void Calcatz.CookieCutter.CommandExecutor.KillFlow ( CommandExecutionFlow  _flow)

◆ OverrideOnCommandFinished()

void Calcatz.CookieCutter.CommandExecutor.OverrideOnCommandFinished ( System.Action< Command, CommandExecutionFlow _callback)

◆ RunFlow() [1/2]

CommandExecutionFlow Calcatz.CookieCutter.CommandExecutor.RunFlow ( Command  _startingCommand,
CommandExecutionFlow.FlowFinishedCallback  _onFinished = null 
)

◆ RunFlow() [2/2]

CommandExecutionFlow Calcatz.CookieCutter.CommandExecutor.RunFlow ( CommandData  _rootCommandData,
Command  _startingCommand,
CommandExecutionFlow.FlowFinishedCallback  _onFinished = null 
)

Member Data Documentation

◆ onAllFlowsEnded

System.Action Calcatz.CookieCutter.CommandExecutor.onAllFlowsEnded

Property Documentation

◆ mainCommandData

CommandData Calcatz.CookieCutter.CommandExecutor.mainCommandData
getset

◆ targetObject

UnityEngine.Object Calcatz.CookieCutter.CommandExecutor.targetObject
get

◆ targetObjectBoxed

object Calcatz.CookieCutter.CommandExecutor.targetObjectBoxed
get