public GameObject CombineMeshes()
 {
     //var startCount = Environment.TickCount;
     return(RuntimeMeshBatcher.CombineMeshes(
                processObjectsByTag, rmbTag, processObjectsByLayer, rmbLayer, destroyOriginalObjects, keepOriginalObjectReferences, combineByGrid, gridType, gridSize));
     //var endCount = Environment.TickCount;
     //Debug.Log("Meshes combined in " + (endCount - startCount) + "ms");
 }
 public GameObject CombineMeshes(GameObject[] objectsToBatch)
 {
     return(RuntimeMeshBatcher.CombineMeshes(objectsToBatch,
                                             destroyOriginalObjects,
                                             keepOriginalObjectReferences,
                                             combineByGrid,
                                             gridType,
                                             gridSize));
 }
 public void UncombineMeshes(GameObject rmbParent)
 {
     RuntimeMeshBatcher.UncombineMeshes(rmbParent);
 }