ResetVertices() public method

public ResetVertices ( List _nodes, string undoName = "" ) : void
_nodes List
undoName string
return void
Beispiel #1
0
 void ResetVertices()
 {
     if (spriteMeshCache)
     {
         if (spriteMeshCache.selection.Count > 0)
         {
             spriteMeshCache.ResetVertices(spriteMeshCache.selectedNodes, "Reset vertices");
         }
         else
         {
             spriteMeshCache.ResetVertices(spriteMeshCache.nodes, "Reset vertices");
         }
     }
 }