protected override void AgentChangedNodes() { if (this.onNode.enemie == this) { this.onNode.enemie = null; } this.onNode = this.path[this.currentPathIndex]; this.onNode.enemie = this; }