internal PolyMesh GetPolyMesh(int x, int z) { int i = GetIndex(x, z); if (i == IndexError) { return(null); } BuildDataItem item = unsafeItems[i]; if (item.polyMesh.Length == 0) { return(null); } return(PolyMesh.Create(item.polyMesh)); }