tweak scenes.
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -106,7 +106,7 @@ public class MultipleMonitorCreator : MonoBehaviour
|
||||
go.name = "Monitor " + i;
|
||||
|
||||
// Expand AABB
|
||||
var mesh = go.GetComponent<MeshFilter>().sharedMesh;
|
||||
var mesh = go.GetComponent<MeshFilter>().mesh; // clone
|
||||
var aabbScale = mesh.bounds.size;
|
||||
aabbScale.y = Mathf.Max(aabbScale.y, aabbScale.x);
|
||||
aabbScale.z = Mathf.Max(aabbScale.z, aabbScale.x);
|
||||
|
||||
Reference in New Issue
Block a user