private static Link.Geometry ExportGeometryMeshData(GameObject geometryObject, double[] urdfSize, bool isCollisionGeometry) { string newFilePath = UrdfMeshExportHandler.CopyOrCreateMesh(geometryObject, isCollisionGeometry); string packagePath = UrdfExportPathHandler.GetPackagePathForMesh(newFilePath); return(new Link.Geometry(null, null, null, new Link.Geometry.Mesh(packagePath, urdfSize))); }