Documentation

ICommandBinder

An instance of this interface is returned by the context’s On() method. Use this interface to decorate the given signal’s response. All methods return this instance to continue decorating.

Public Methods

Do Adds a command of the given type.
GotoState Adds a command to set this context’s state to an instance of the given context type.
SwitchState Adds a command to switch this context’s state with an instance of the given context type.
InstantiateView Adds a command to instantiate a view of the given view type to this context in form of a new gameobject.
Dispatch Adds a command to dispatch the given parameterless signal type.
SwitchContext Adds a command to switch this context with an instance of the given context type.
AddContext Adds a command to add an instance of the given context type as a child to this context.
Remove Adds a command to remove this context.
OnAbort Adds a command of the given type which is called when any of the commands is aborted.
OnFinish Adds a command of the given type which is called when all of the commands are succesfully released.
RevertOnAbort Makes all executed and released commands revert when any of the commands is aborted.
ExecuteParallel Makes all commands execute at once instead of waiting for them to release before going to the next.