Пример #1
0
 private void PostTickPaths()
 {
     if (CurrentBehaviorTree != null)
     {
         CurrentBehaviorTree.CallPostTickOnPath(m_memoryUser, CurrentTreeBotMemory, m_oldNodePath);
         CurrentBehaviorTree.CallPostTickOnPath(m_memoryUser, CurrentTreeBotMemory, m_newNodePath);
     }
 }
Пример #2
0
 private void PostTickOldPath()
 {
     if (HasOldPath)
     {
         m_oldNodePath.ExceptWith(m_newNodePath);
         CurrentBehaviorTree.CallPostTickOnPath(m_memoryUser, CurrentTreeBotMemory, m_oldNodePath);
         ClearOldPath();
     }
 }