void ResetVertices() { if (spriteMeshCache) { if (spriteMeshCache.selection.Count > 0) { spriteMeshCache.ResetVertices(spriteMeshCache.selectedNodes, "Reset vertices"); } else { spriteMeshCache.ResetVertices(spriteMeshCache.nodes, "Reset vertices"); } } }