public BehaviorReturnCode Move() { BehaviorReturnCode toReturn = aiMovement.DoTransition(actualEdge); if (debug && toReturn.Equals(BehaviorReturnCode.Success)) { Debug.Log("Move_Success"); } if (debug && toReturn.Equals(BehaviorReturnCode.Failure)) { Debug.Log("Move_Failure"); } if (toReturn.Equals(BehaviorReturnCode.Running)) { onTransition = true; } else { onTransition = false; } return(toReturn); }