public static GameObject LoadVoxelFileAsPrefab(string path, string outpath = "Assets/", int lodLevel = 0) { var voxel = VoxFileImport.Load(path); return(LoadVoxelFileAsPrefab(voxel, Path.GetFileNameWithoutExtension(path), outpath, lodLevel)); }
public static GameObject LoadVoxelFileAsGameObjectLOD(string path, int lodLevel) { var voxel = VoxFileImport.Load(path); return(LoadVoxelFileAsGameObject(Path.GetFileNameWithoutExtension(path), voxel, lodLevel)); }