Spaces:
Sleeping
Sleeping
Update UnityProject/Assets/Editor/TestBuilder.cs
Browse files
UnityProject/Assets/Editor/TestBuilder.cs
CHANGED
|
@@ -149,7 +149,7 @@ public class TestBuilder
|
|
| 149 |
var meshSimplifier = new MeshSimplifier();
|
| 150 |
meshSimplifier.Initialize(smr.sharedMesh);
|
| 151 |
meshSimplifier.SimplificationOptions = options;
|
| 152 |
-
meshSimplifier.SimplifyMesh(0.
|
| 153 |
|
| 154 |
Mesh newMesh = meshSimplifier.ToMesh();
|
| 155 |
newMesh.name = smr.sharedMesh.name + "_Internal";
|
|
|
|
| 149 |
var meshSimplifier = new MeshSimplifier();
|
| 150 |
meshSimplifier.Initialize(smr.sharedMesh);
|
| 151 |
meshSimplifier.SimplificationOptions = options;
|
| 152 |
+
meshSimplifier.SimplifyMesh(0.1f);
|
| 153 |
|
| 154 |
Mesh newMesh = meshSimplifier.ToMesh();
|
| 155 |
newMesh.name = smr.sharedMesh.name + "_Internal";
|