AstarPath OnDrawGizmos public to private in the new version

Hello:

In the previous version of the library I had my own class extending AstarPath. This class had my own method
OnDrawGizmos () { base.OnDrawGizmos (); myGizmos (); }
In the new version of AstarPath, OnDrawGizmos is now private, so I can not do it in that way. Is there any reason why is OnDrawGizmos private now?

I guess the way to do this is by OnDrawGizmosCallback, but I’m not sure where I have to register because I can not make it work.

`public class MyAstarPath: AstarPath
{
  void Awake ()
  {
    OnDrawGizmosCallback + = myGizmos;
  }
  public void myGizmos ()
  {
    //my code
  }
}`

Thank you

Hi

I made it private to avoid exposing functions which have no real reason to be private. I did not know anybody was extending the AstarPath script in that way.
Since there obviously are people using the OnDrawGizmos function, I will make it public again in the next version. You can make it public in your local copy until then.

Thank you! And thank you for you quick reply!