State Transition

Namespace

namespace Handy2DTools.Actions{}

Declaration

public class StateTransition {}

Properties

public Func<bool> {get; protected set;}

Condition

A delegate function representing the transition’s condition

public State {get; protected set;}

state

The state wich should be transitioned into based on Condition

public int {get; protected set;}

priority

The execution priority. Higher numbers first. Default 0.