public void EvaluateTransitions() { for (int i = 0; i < transitions.Length; ++i) { AITransition transition = transitions[i]; if (transition.currentState != currentState) { continue; } bool evaluation = AIStates.CheckBoleanCondition(transition, blackboardReference, manager.components); if (evaluation) { TransitionState(transition.jumpIndex); break; } } }