public void ProcessLastRunningNode(MyBehaviorTreeNode node) { if (this.LastRunningNodeIndex != -1) { if (this.LastRunningNodeIndex != node.MemoryIndex) { this.PostTickOldPath(); } else { this.ClearOldPath(); } } }
public void ProcessLastRunningNode(MyBehaviorTreeNode node) { if (LastRunningNodeIndex == -1) { return; } if (LastRunningNodeIndex != node.MemoryIndex) { PostTickOldPath(); } else { ClearOldPath(); } }