static public Task Task(VoxelMeshBuild vmb, VoxelProduct.Product main, Dictionary <Vector3Int, VoxelHandler> all) { Task task = new Task(); TaskManager.PushFront(task, delegate { vmb.build(main, all); }); return(task); }
static public void Run(VoxelMeshBuild vmb, VoxelProduct product) { vmb.build(product); }