Skip to main content

CombinedMeshSource

A class in Root.Township, the global namespace.

Editor tool that joins this object's meshes into combined meshes with LodMeshJoiner.

Constructors​

MemberWhat it is
CombinedMeshSource()Unity makes components itself; use AddComponent or spawn a prefab instead of new.

Fields​

3 private and internal fields
MemberWhat it is
private Transform[] bonesBones passed to the joiner.
private bool btnBakeInspector button that runs Process.
private Mesh[] meshesThe joined meshes.

Methods​

MemberWhat it is
void Process()Runs LodMeshJoiner.Batch on this object and stores the result in meshes.