状态机转换失误
为什么从input状态转到fall状态之后就出不来了,代码都是一样的
private State fallState()
{
StateWithEventMap state = TaskState.Create(delegate
{
return new Task();
}, fsm_, "remove");
state.onStart += delegate
{
Debug.LogWarning("in fall");
};
return state;
}