public virtual void EndPlayerState() { playerFSM.PopState(this); if (playerFSM.GetCurrentState() == null) { playerFSM.PushState(defaultState); } }