Пример #1
0
 public void DeclareRunning(BTActionNode _actionNode)
 {
     if (_actionNode != null && m_nextRunningAction != null)
     {
         m_nextRunningAction.Add(_actionNode);
     }
 }
Пример #2
0
 public bool IsActionRunning(BTActionNode _actionNode)
 {
     if (_actionNode == null || m_runningAction == null)
     {
         return(false);
     }
     return(m_runningAction.Contains(_actionNode));
 }