public GridCell(int index, GridType gridType, Vector3 pos) { this.index = index; this.edges = new float[(int)gridType]; this.position = pos; }