Reply To: ResetPath

NodeCanvas Forums Support ResetPath Reply To: ResetPath

#12087
mohannad32
Participant

protected override void OnStop(){
if (lastRequest != null && agent.gameObject.activeSelf){
agent.ResetPath();
}
lastRequest = null;
}