Skip to main content

StaticBatchedRecombiner

A static class in Root.Township, the global namespace.

Merges all mesh renderers under a transform into one mesh per material (split at 65000 vertices), including ones already statically batched. Removes the originals.

Methods​

MemberWhat it is
static void Recombine(Transform parent)Combines child meshes by material into new Recombined objects on the Terrain layer, skipping impostors and deleting the old renderers.