Search Unity

Unity's version control component has been upgraded to Plastic SCM.

Feature Request: Event callback for NavMeshAgent.pathStatus

Discussion in 'Unity Collaborate' started by Tryptic_CK, Feb 6, 2021.

  1. Tryptic_CK

    Tryptic_CK

    Joined:
    Feb 6, 2021
    Posts:
    6
    I would like to be able to avoid polling for variable changes where possible and being able to write a callback for when the pathStatus property changes would be wonderful. I feel like it would be trivial to add something to set that sends an event. I would do this myself, but since it is a closed class I can't do anything. :( There are probably a hundred other places where this sort of functionality would be useful. Please let me know if this is an unrealistic request, and if so why.
     
  2. Tryptic_CK

    Tryptic_CK

    Joined:
    Feb 6, 2021
    Posts:
    6
    Haha, yeah, wrong forum. That's what I get for having so many tabs open. ;)