Hello, I found a Japanese source and made a mesh drawn with a mouse. But while this was 3D for the person I watched his training with, it became 2D for me. I saw a note at the bottom, but I didn’t quite understand it. Can you help me?
Since it is not your original code, it will be difficult for you depending on how much you understand it.
You have to clone all the vertices and move them in the thickness direction on top of that you have to reordering the triangles in the opposite clockwise or flip the normals. then you are going to have extra more vertices to do the side way stitching between 2 planes.
I have some procedural examples in my MakeGeo project. There’s even one called Extrude2DShape!
Full use case set up in the testmakeextrusion.unity scene, showing a 2D letter K getting extruded into 3D with separate materials for front, back, sides.