public void test(QMazePieceData[][] mazeData) { QMazeOutput output = new QMazeOutput(); output.outputDirList.Add(QMazeOutputDirection.N); output.outputDirList.Add(QMazeOutputDirection.S); mazeData[1][1] = new QMazePieceData(1, 1); mazeData[1][1].outputs = new List <QMazeOutput>(); mazeData[1][1].outputs.Add(output); }
public void childMazePieceHandler(QMazePieceData pieceData) { pieceData.geometry.GetComponent <MeshRenderer>().material = childMazeMaterialPrefab; }