Gets the tile and polygon from a polygon reference
The polygon reference
The navigation mesh
Object containing tile and poly, or null if not found
Gets the tile and polygon from a polygon reference