- Home /
How do I add vertices to my sprite?
I need to add a new vertex to my rectangular sprite.
I tried assigning new vertices to sprite.vertices
, but it's read only. Any suggestions?
Comment
Answer by PokemonCatcher · Aug 23, 2017 at 02:49 PM
Use Sprite.OverrideGeometry(Vector2[] vertices, uint[] triangles)