public HexCell GetCell(Vector3 postion) { postion = transform.InverseTransformPoint(postion); HexCoordinates coordinates = HexCoordinates.FromPostion(postion); int index = coordinates.X + coordinates.Z * cellCountX + coordinates.Z / 2; return(cells[index]); }