public virtual bool TryEnter(StackFsmComponent stackFsmComponent) { if (stackFsmComponent.CheckConflictState(GetConflictStateTypeses())) { return(false); } return(true); }
/// <summary> /// 状态移除时调用 /// </summary> /// <param name="stackFsmComponent"></param> public abstract void OnRemoved(StackFsmComponent stackFsmComponent);
public abstract void OnExit(StackFsmComponent stackFsmComponent);
public abstract void OnEnter(StackFsmComponent stackFsmComponent);
public override void OnRemoved(StackFsmComponent stackFsmComponent) { }
public override void OnExit(StackFsmComponent stackFsmComponent) { }
public override void OnEnter(StackFsmComponent stackFsmComponent) { }