Example #1
0
 static void PrintMeshInfo2()
 {
     foreach (MeshFilter mf in Selection.transforms.Select(x => x.GetComponent <MeshFilter>()))
     {
         if (mf.sharedMesh != null)
         {
             System.Diagnostics.Process.Start(WriteTempFile(MeshUtility.Print(mf.sharedMesh)));
         }
     }
 }
Example #2
0
 static void PrintMeshInfo()
 {
     foreach (MeshFilter mf in Selection.transforms.Select(x => x.GetComponent <MeshFilter>()))
     {
         if (mf.sharedMesh != null)
         {
             Debug.Log(MeshUtility.Print(mf.sharedMesh));
         }
     }
 }