![комикс,программирование,программист,песочница pentagonObj = new GameObject(); pentagonObj.name = "singlePentagon"; pentagonObj. gameObject.AddComponent<MeshFilter>(); pentagonObj. gameObject.AddComponent<MeshRenderei pentagonMesh = pentagonObj.GetComponent<MeshFiltel
singlePentagon = new MeshQ; e e
singlePentagon.vertices =](http://img1.joyreactor.cc/pics/post/%D0%BA%D0%BE%D0%BC%D0%B8%D0%BA%D1%81-%D0%BF%D1%80%D0%BE%D0%B3%D1%80%D0%B0%D0%BC%D0%BC%D0%B8%D1%80%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D0%B5-%D0%BF%D1%80%D0%BE%D0%B3%D1%80%D0%B0%D0%BC%D0%BC%D0%B8%D1%81%D1%82-%D0%BF%D0%B5%D1%81%D0%BE%D1%87%D0%BD%D0%B8%D1%86%D0%B0-3046937.jpeg)
Подробнее
pentagonObj = new GameObject(); pentagonObj.name = "singlePentagon"; pentagonObj. gameObject.AddComponent<MeshFilter>(); pentagonObj. gameObject.AddComponent<MeshRenderei pentagonMesh = pentagonObj.GetComponent<MeshFiltel singlePentagon = new MeshQ; e e singlePentagon.vertices = pentagonVertices; ^ туре^г igles = pentagonTris; тУРе type singlePentagon.uv I pentaj fePSrrtog© nlF^S^SmeBo u n d ^ (); pen' pentagonMesh.|a|nHDbjec1 led-QO n nv //gets the vertex index Vector2 thisVer float thisAngle thisVertex.x = c Mathf.Sin(thislndex * thisVertex.y = c lf.Cos(thislndex * •eturn thisVerte ©2015" Jeff Lofvers Don't Hit Save - donthitsave.com
комикс,программирование,программист,песочница
Еще на тему
з.ы. или я слишком критичен к своему говнокоду.