SetVertexCount(Sprite, int)
Sets the vertex count. This resizes the internal buffer. It also preserves any configurations of VertexAttributes.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: UnityEngine.U2D
- Assembly: UnityEngine.CoreModule
public static void SetVertexCount(this Sprite sprite, int count)