示例#1
0
        public virtual bool TryEnter(StackFsmComponent stackFsmComponent)
        {
            if (stackFsmComponent.CheckConflictState(GetConflictStateTypeses()))
            {
                return(false);
            }

            return(true);
        }
示例#2
0
 /// <summary>
 /// 状态移除时调用
 /// </summary>
 /// <param name="stackFsmComponent"></param>
 public abstract void OnRemoved(StackFsmComponent stackFsmComponent);
示例#3
0
 public abstract void OnExit(StackFsmComponent stackFsmComponent);
示例#4
0
 public abstract void OnEnter(StackFsmComponent stackFsmComponent);
示例#5
0
 public override void OnRemoved(StackFsmComponent stackFsmComponent)
 {
 }
示例#6
0
 public override void OnExit(StackFsmComponent stackFsmComponent)
 {
 }
示例#7
0
 public override void OnEnter(StackFsmComponent stackFsmComponent)
 {
 }