public LeanInConfig GetNextLeanState() { PostureStateId id = CurrentState.ActiveTransition == null ? (PostureStateId)CurrentState.StateId : (PostureStateId)CurrentState.ActiveTransition.To; return(StateIdAdapter.GetLeanStateId(id)); }
public LeanInConfig GetCurrentLeanState() { PostureStateId id = (PostureStateId)CurrentState.StateId; return(StateIdAdapter.GetLeanStateId(id)); }