/// <summary> /// Checks if the required conditions to enter this state are true. If so the state machine will automatically change the current state to the desired one. /// </summary> public virtual bool CheckEnterTransition(CharacterState fromState) { return(true); }
/// <summary> /// This method runs once when the state has entered the state machine. /// </summary> public virtual void EnterBehaviour(float dt, CharacterState fromState) { }
/// <summary> /// This method runs once when the state has exited the state machine. /// </summary> public virtual void ExitBehaviour(float dt, CharacterState toState) { }