private void BuildBlock(OpenCog.BlockSet.BaseBlockSet.OCBlock block) { renderer.material = block.Atlas.Material; MeshFilter filter = GetComponent<MeshFilter>(); block.Build().ToMesh(filter.mesh); }
private void BuildBlock(OpenCog.BlockSet.BaseBlockSet.OCBlock block) { renderer.material = block.Atlas.Material; MeshFilter filter = GetComponent<MeshFilter>(); block.Build().ToMesh(filter.mesh); }