public void DisplayMesh(MeshDetails meshDetails) { meshFilter.sharedMesh = meshDetails.BuildMesh(); textureRenderer.gameObject.SetActive(false); meshFilter.gameObject.SetActive(true); }
private void OnMeshDetailsReceived(MeshDetails meshDetails) { meshFilter.mesh = meshDetails.BuildMesh(); }