示例#1
0
        public void AbortPlan()
        {
            Debug.Log("Replanning");

            if (CurrentAction != null)
            {
                CurrentAction.OnFailed();
                CurrentAction.Running = false;
            }

            ActionQueue = null;
            StoredActionQueue.Clear();
            CurrentAction = null;
        }