EnemyBase.AgentChangedNodes C# (CSharp) Méthode

AgentChangedNodes() protected méthode

Is called when the Agnet changes Nodes.
protected AgentChangedNodes ( ) : void
Résultat void
    protected override void AgentChangedNodes()
    {
        if (this.onNode.enemie == this)
        {
            this.onNode.enemie = null;
        }
        this.onNode = this.path[this.currentPathIndex];
        this.onNode.enemie = this;
    }