Customizable Procedural Cylinder for Unity3D Editor
On a game engine like Unity3D, the number of triangles on a mesh is of crucial importance to performance. Unity should have included procedural mesh generators for all its base objects as a lot of new developers end up using more polys than they need (especially with the default 10×10 plane) or have to create basic meshes in external design programs and import them.
This is an attempt to recreate a default Unity shape, the Cylinder, procedurally, to allow the user to specify the number of radial and height segments, like in 3dsmax. This is how it works:
Get the source code and contribute on GitHub: https://github.com/doukasd/Unity-Components