コード例 #1
0
 public void ProcessLastRunningNode(MyBehaviorTreeNode node)
 {
     if (this.LastRunningNodeIndex != -1)
     {
         if (this.LastRunningNodeIndex != node.MemoryIndex)
         {
             this.PostTickOldPath();
         }
         else
         {
             this.ClearOldPath();
         }
     }
 }
コード例 #2
0
        public void ProcessLastRunningNode(MyBehaviorTreeNode node)
        {
            if (LastRunningNodeIndex == -1)
            {
                return;
            }

            if (LastRunningNodeIndex != node.MemoryIndex)
            {
                PostTickOldPath();
            }
            else
            {
                ClearOldPath();
            }
        }