public static string GetCellById(int id) { int space = MathU.PowOfTen(GetInfoLength("type")); int typesCnt = CellType2Name.Length; int index = Mathf.FloorToInt(id / ((float)space / typesCnt)); return(CellType2Name[index]); }