Documentation

Unity Engine

Download Unity

Unity Engine

vertices

The vertices of the mesh to generate the Sprite with, in pixels from the corner of SpriteImportData.rect. Supply these together with SpriteImportData.indices to use a mesh of your own instead of one generated from the texture, in which case SpriteImportData.outline and SpriteImportData.tessellationDetail are ignored.
Read time 1 minuteLast updated a month ago

Definition

public Vector2[] vertices { get; set; }