void OnPathComplete(Path p) { if (!p.error) { currentPath = p; currentWaypoint = 0; canMove = true; } } void OnAnimatorMove()