/// <summary> /// Ticks (steps) the tree once. /// The tree must be started beforehand. /// <see cref="Start"/> /// </summary> public void Update() { if (isTreeInitialized && mainIterator.IsRunning) { UpdateTimers(); mainIterator.Update(); } }
public void Update() { if (_bTreeInitialized && _mainIterator.IsRunning) { if (_observerAborts.Count != 0) { tickObservers(); } _mainIterator.Update(); } }
public void Update() { if (_bTreeInitialized && _mainIterator.IsRunning) { if (treeTickNodes.Length != 0) { NodeTreeTick(); } if (_observerAborts.Count != 0) { TickObservers(); } _mainIterator.Update(); } }