The only polygons that Unity provides built-in are quads. In this video we show how we can create any n-sided regular convex polygon in Unity at runtime using a simple script.
Series: Polyhedra in Unity
Episode 1: Regular Polygons - Meshes
The second episode in the series will add in UV texture coordinates.
The source code associated with this video is available at: https://github.com/Firnox/Polyhedra/b...
Chapters:
0:00 Introduction
0:35 Polygon properties
1:05 Unity components needed
1:34 Vertex locations
3:00 Triangulation of regular polygons
4:00 Ending notes