Hello, so i would like to draw some polygons but i don't know how. In theory what i would like to do is to make an array of vertecies (x,y,z) ordered clockwise and then put them through some function which would draw my polygon. Does a function like that exist in unity? I would like it to be like a quad (rendered only from one side). Could you give me some simple C# code ... for some simple polygon? Like a square or a triangle. Thank you!
Check here also (comments section has some links to tutorials too) http://unitycoder.com/blog/2012/02/25/mesh-box-reference-vertices-triangles-uv-normals/