just wanted to implemnt
AstarPath.active.RegisterSafeUpdate (() => {
// Safe to modify graph data here
});
than i got this from the compiler:
Static member `AstarPath.RegisterSafeUpdate(System.Action)’ cannot be accessed with an instance reference, qualify it with a type name instead
it is easly solved by just getting rid of the object:
AstarPath.RegisterSafeUpdate (() => {
// Safe to modify graph data here
});
here is the link to the mistake in the docs.