public void GenerateUnwalkableMesh(Location location, List <ClusterPoint> points) { this.location = location; this.points = points; //StopCoroutine("IGenerateMesh"); MeshCreator mesh = FindObjectOfType <MeshCreator>(); mesh.GenerateMesh(location, points); }
public virtual MeshInfo GetVoxelMeshInfo(Chunk _chunk, int _x, int _y, int _z, MeshInfo _mesh_info) { return(MeshCreator.GenerateMesh(_chunk, _x, _y, _z, _mesh_info, this)); }