private void CreateMesh() { if (drawMesh) { pipe_mesh = new PipeMesh(pipe_layout_to_mesh); } }
private void CreateMesh(){ if (drawMesh) { pipe_mesh = new PipeMesh (pipe_layout_to_mesh.vertices, pipe_layout_to_mesh.triangles); } }